MJW Posted September 29, 2016 Share Posted September 29, 2016 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? Quote Link to comment Share on other sites More sharing options...
BoltBait Posted September 29, 2016 Share Posted September 29, 2016 Try this: Quote Download: BoltBait's Plugin Pack | CodeLab | and a Computer Dominos Game Link to comment Share on other sites More sharing options...
Rick Brewster Posted September 29, 2016 Share Posted September 29, 2016 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). https://msdn.microsoft.com/en-us/library/x85tt0dd.aspx 1 Quote 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 More sharing options...
MJW Posted September 29, 2016 Author Share Posted September 29, 2016 Thank you, Rick. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.