How can I see the C ++ stack trace to confirm the failure in Visual Studio 2012?

How can I see the stacktrace when my assertion fails in visual studio 2012? If I am attached to a process, it works as expected, but when I just build with F5 (debug), my assertion happens, giving me a "Cancel, redo, ignore" prompt, but I can't see my column in the debugger.

Is there a way to enable it during debug build, or will I always have to build and attach to the process?

My assertion is just a assertion (1 == 2) so that it won't get it right and see the stop code.

+3


source to share


1 answer


(Cancel from comment)



Clicking the button Retry

will activate the debugger, allowing you to see your column, locals, etc.

+2


source