2018-10-11 06:39 PM
when there's no emluator connected, my program works ok. But when I have my emluator connected, my program will immediately recover from stop mode or may even not enter into stop mode?
Do somebody has same experience and give me some ideas?
2018-10-11 08:15 PM
Check if there any DBGMCU settings to alter behaviour so it doesn't interfere. Consider different debuggers.
>>Do somebody has same experience and give me some ideas?
Have your code output flow and telemetry via a serial port so you don't need a debugger to single step or break-point your code. Have a monitor application allowing you to probe internal state, and change level/verboseness of telemetry.