__restoreSoftwareBreakpoints
In this section:
Syntax
__restoreSoftwareBreakpoints()Return value
int 0
For use with
All C-SPY hardware drivers.
Description
Restores automatically any breakpoints that were destroyed during system startup.
This can be useful if you have an application that is copied to RAM during startup and is then executing in RAM. This can, for example, be the case if you use the initialize by copy directive for code in the linker configuration file or if you have any __ramfunc declared functions in your application. In this case, any breakpoints will be overwritten during the RAM copying when the application execution starts.
By using the this macro, C-SPY will restore the destroyed breakpoints.