Break the debugger on assertion failed

Bogi picture Bogi · Jan 28, 2011 · Viewed 10k times · Source

Is there a way to break the debugger when assertion is false and running the application using Visual Studio debugger. Earlier when I was debugging Windows application I would get an exception and the debugger would break, but now on Smart Device an assertion failed window is showed with stack trace, but I would also like to see variable values etc.

Answer

Bogi picture Bogi · Jan 28, 2011

Stupid me, the solution was simple. When the window pops out, press pause in debugger :)