I am trying to execute the bkpt instruction in Cortex R processor and it goes to halt mode.
Now I would like to retain back the execution without using external Debugger connection. Is there anyway to handle Breakpoint as an exception handler ?
If the CPU is in halt debug mode, then it would not execute normal instruction stream, but is controlled by external debugger via ITR debug register.
If there is no external debugger, why using halting debug mode, would it better to use Monitor debug-mode?
In Monitor debug-mode, halt instruction will trigger an debug exception, your code can use debug registers to get information.