9.2.2 Debug Options

Select debug options, if available for the project device.

Table 9-2. Debug Options Option Category
Debug startupSystem settings may be found under Tools>Options>Embedded>Generic Settings, but may be changed here: Use system settings, Run, Halt at main, Halt at reset vector.
Debug resetSystem settings may be found under Tools>Options>Embedded>Generic Settings, but may be changed here: Use system settings, Main, ResetVector.
Use Software BreakpointsCheck to use software breakpoints.

Uncheck to use hardware breakpoints. See the discussion below to determine which type is best for your application.

Use Simultaneous DebugCheck to indicate that the project is part of a multi-core simultaneous debug session.
Table 9-3. Software vs Hardware Breakpoints
FeaturesSoftware BreakpointsHardware Breakpoints
Number of breakpointsunlimitedlimited
Breakpoints are written toprogram memorydebug registers
Time to set breakpointsoscillator speed dependent, it can take minutesminimal
Skiddingnoyes
Note: Using software breakpoints for debug impacts device endurance. So, it is recommended that devices used in this manner should not be used as production parts.