| |||
| Home > Setting Breakpoints > Forcing the size of a software breakpoint | |||
The default size of a software breakpoint is 32 bits if there is no image information. If there is image information, then that determines the size of the breakpoint. However, you can change this if required.
To force the size of a software breakpoint:
Either:
create a new software breakpoint, and leave the Create Breakpoint dialog box open
edit an existing software breakpoint to display the Edit Breakpoint dialog box.
Select the Force Breakpoint Size (bits) check box.
Enter the required size:
enter 16 for 16-bit (Thumb code)
enter 32 for 32-bit (ARM code).
Also, use Thumb breakpoints for Thumb2 and Thumb2EE.
Click OK to set the breakpoint.
See also: