When I am debugging source-level in file A, then stop & restart the program, and it hits on a breakpoint which is in file B, then the debugger will not switch to the other source file. Rather it continues to show the "current execution location" pointer at a place in file A -- the place where I stopped the program.
Switching with Space will switch between disassembly and file A.
The debugger will realize that something is up once program flow enters file A again -- at that point the "current execution pointer" begins updating correctly.
(Slightly related: when I stop a program, then the "current execution pointer" ought to disappear altogether, right?)
When I am debugging source-level in file A, then stop & restart the program, and it hits on a breakpoint which is in file B, then the debugger will not switch to the other source file. Rather it continues to show the "current execution location" pointer at a place in file A -- the place where I stopped the program.
Switching with Space will switch between disassembly and file A.
The debugger will realize that something is up once program flow enters file A again -- at that point the "current execution pointer" begins updating correctly.
(Slightly related: when I stop a program, then the "current execution pointer" ought to disappear altogether, right?)