## Toggle HW Breakpoint

Use the Toggle HW Breakpoint command in stop-mode debugging to set or unset a hardware breakpoint on a device that supports hardware breakpoints. The debugger treats hardware breakpoints exactly like software breakpoints for purposes of debugging. If the device does not support hardware breakpoints, toggling the command will do nothing.

#### Setting a Hardware Breakpoint in an Editor View

- Right-click in the marker bar and select Toggle HW Breakpoint

The active breakpoint dot appears () in the marker bar. If the breakpoint is resolved during the debug session, the debugger halts program execution at the line with the resolved breakpoint ().

##### Other references

- Carbide Menus
- Breakpoints overview