This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DSS Hardware Breakpoints - Enable/Disable



Hi

I have been trying to enable/disable a breakpoint in DSS after its been created. When a breakpoint is added, its handle is stored so I assumed it would

be along the lines of: 

debugSession.breakpoint(handle).setBoolean("enabled",true or false)

But I can seem to get the correct syntax, can you help please.

Cheers

Jason

  • Hi Jason,

    There are no explicit DSS APIs for disabling/enabling breakpoints. That is because it is somewhat redundant with the add/remove APIs. The enable/disable feature was useful when using the CCS IDE for debug. Disabling a breakpoint will remove the breakpoint from the target but preserve the breakpoint properties in the IDE so they can easy reapplied when enabling them. This is usually not an issue in an automated environment.

    Thanks

    ki