Jump to content

Plugin exceptions not catched


midora

Recommended Posts

Quite often during development I'm gettting a crash of paint.net because a plugin raised an exception.

I would prefer to get the plugin crash dialog instead of an application crash message.

 

It may be that all of these crashes are happening in the Ui task. So I'm not sure if it is possible to catch these exceptions. Here is an example crash log:

Processor: 4x "Intel(R) Core(TM) i3 CPU       U 330  @ 1.20GHz" @ ~1197MHz (DEP, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2)

Physical memory: 3893 MB

Hardware acceleration: False

Video card: Intel(R) HD Graphics

UI animations: True

UI DPI: 96.00 dpi (1.00x scale)

UI theme: Aero/Aero + DWM (Aero.msstyles)

Updates: True, 19.06.2014

Locale: pdnr.c: en-US, hklm: en-US, hkcu: en-US, cc: de-CH, cuic: en-US



Exception details:

System.ArgumentOutOfRangeException: Value of '3489.625' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.

Parameter name: Value

   at System.Windows.Forms.NumericUpDown.set_Value(Decimal value)

   at OptionControls.OptionViewDocScale.Preview_ViewDocSizeChanged(Object sender, EventArgs e)

   at ControlExtensions.ControlDocView.set_ViewDocSize(Size value)

   at ControlExtensions.ControlDocView.ZoomByIncrement(Int32 increment)

   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ToolStrip.WndProc(Message& m)

   at ControlExtensions.ControlToolButton.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



Managed assemblies: 


midoras signature.gif

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.

Guest
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...