Jump to content

Disable crash window in Visual Studio debugger?


Recommended Posts

When there's an exception in a plugin when running under Visual Studio, instead of breaking like it normally would, it brings up the rather terse PDN crash message window. I'd much rather break so I could look at the value of the fields, etc. I assume the crash handling catches all otherwise-unhandled exceptions. Can that be disabled so I can use the debugger instead? Or once the window appears, is there a way to debug the code that caused the exception?

Link to comment
Share on other sites

There's an option to enable first-chance exceptions, not just unhandled exceptions. That's what you'll want. You can control it on a per-exception type basis, and you'll quickly figure out what to filter out (e.g. OperationCanceledException). 



  • Upvote 1

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...