This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unpredictable Results When Ending Debug

Another newb question:
When I stop execution in Debug mode, I seem to get some unpredictable results: sometimes the Disassembly window opens, sometimes the Editer with a random source file that while part of the project is not involved with what I am working on. What am I doing wrong?

Parents
  • If you just randomly hit the 'Stop' button, it is quite likely that the processor will not actually be executing your source at that particular instant; eg, it might be in a library call.

    In that case, it can't display any relevant line from your source - so it presumably just depends on whatever's happened previously...

    Optimisation can also confuse the issue...

Reply
  • If you just randomly hit the 'Stop' button, it is quite likely that the processor will not actually be executing your source at that particular instant; eg, it might be in a library call.

    In that case, it can't display any relevant line from your source - so it presumably just depends on whatever's happened previously...

    Optimisation can also confuse the issue...

Children
No data