Search code examples
c#visual-studio-2008debuggingassertionsmart-device

Break the debugger on assertion failed


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.


Solution

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