After loading image with debug probe, the program stays in the very beginning main(). I can step into/ step over/ run(if there is already a break and the program will run to this break point by default) .
However, if there's no break point, after clicking "run", the program seems losing control. I can not pause, read variables, or read registers. The only thing I can do is stop the whole debug project and relaunch again.
Any solution?
If you cannot normally pause and inspect where the program stopped, it means
your program code in memory has been destroyed during uncontrollable execution
or modified in a way that the debugger cannot get in sync with it. Use S32DS
trace and analysis feature to see where your processor gets out of control.
Details can be found in S32 Design Studio Tracing and Analysis User Guide.
This document is located at S32DS\help\ path from your S32DS installation
directory.
Best Regards,
Platon