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?
Whatever it might be you're doing wrong, it's something peculiar to your project --- because I'm quite sure nobody else is having that problem. But without you providing any details of what that program of yours is doing, on what hardware, how you're building it, and so on, it's impossible to even guess what that peculiarity is.
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...