Details
Description
- Have a project with the following lines and configure it on a kit for MSVC 2010:
int a = 'a'; int b = 'b'; *(int *)0 = a + b;
- Run this in the debugger.
The debugger will stop at the last line because it tries to dereference a null-pointer. The shown stack trace looks fine. - Let the debugger continue.
It will stop again immediately. Now the function containing the above code is missing from the stack trace. - Let the debugger continue.
Now the whole stack trace will be gone. Instead, references to something completely different will be listed. - Let the debugger continue.
With each time, another line will be added to the stack trace.
Instead, from step 3 on, the debugger should always get back to the exactly same state.