Notifications
Clear all
[Closed] handling dotNet exceptions in maxscript
Mar 18, 2010 11:18 pm
Hi!
Is there a way in maxscript to catch or handle dotNet runtime exceptions?
I’m randomly getting window saying that there is unhandled exception in my application, and when I press continue script just continues to work. How could I catch these exception?
Here is the code from the window:
в _CxxThrowException(Void* , _s__ThrowInfo* )
в MXS_dotNet.mxsCDotNetHostWnd.ProcessEvent(mxsCDotNetHostWnd* , String eventName, Object delegateArgs)
в MXS_dotNet.CDotNetHostWnd.delegate_proxy_type_base.ProcessEvent(String eventName, Object delegateArgs)
в AdvancedDataGridView.TreeGridView.CollapseNode(TreeGridNode node)
в AdvancedDataGridView.TreeGridCell.OnMouseDown(DataGridViewCellMouseEventArgs e)
в System.Windows.Forms.DataGridViewCell.OnMouseDownInternal(DataGridViewCellMouseEventArgs e)
в System.Windows.Forms.DataGridView.OnCellMouseDown(DataGridViewCellMouseEventArgs e)
в System.Windows.Forms.DataGridView.OnMouseDown(MouseEventArgs e)
в System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.DataGridView.WndProc(Message& m)
в System.Windows.Forms.Control.ActiveXImpl.System.Windows.Forms.IWindowTarget.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)