How can I get debugger to halt on connect?
I have a code hang and want to check where it's spinning?
Segger Embedded Studio for ARM V5.68
Thanks,
More to my issue; code/system behaves fine when debugger is connected; but seems to hang up if debugger not connected. In such a hang; connecting the debugger seems to let the processor run again from where the hang was.
I am suspecting a RTT related issue; I am using three sets of RTT buffers; all of which should be skip/no block. But I am suspecting the connect of the debugger is flushing the buffers and therefore letting the target proceed. I am sure there used to be an option to let one halt on connect or am I thinking of IAR.
I can connect using Jlink commander and halt; but then I don't have the facility of a nice stack backtrace.
I have a code hang and want to check where it's spinning?
Segger Embedded Studio for ARM V5.68
Thanks,
More to my issue; code/system behaves fine when debugger is connected; but seems to hang up if debugger not connected. In such a hang; connecting the debugger seems to let the processor run again from where the hang was.
I am suspecting a RTT related issue; I am using three sets of RTT buffers; all of which should be skip/no block. But I am suspecting the connect of the debugger is flushing the buffers and therefore letting the target proceed. I am sure there used to be an option to let one halt on connect or am I thinking of IAR.
I can connect using Jlink commander and halt; but then I don't have the facility of a nice stack backtrace.
The post was edited 1 time, last by owain-incus ().