blackgoddess vive le troll ! | Depuis l'"immediate window" sur l'exception
Code :
- ?$exception
- {"Operation is not valid due to the current state of the object."}
- [System.InvalidOperationException]: {"Operation is not valid due to the current state of the object."}
- _className: Cannot fetch the value of field '_className' because information about the containing class is unavailable.
- _data: Cannot fetch the value of field '_data' because information about the containing class is unavailable.
- _dynamicMethods: Cannot fetch the value of field '_dynamicMethods' because information about the containing class is unavailable.
- _exceptionMethod: Cannot fetch the value of field '_exceptionMethod' because information about the containing class is unavailable.
- _exceptionMethodString: Cannot fetch the value of field '_exceptionMethodString' because information about the containing class is unavailable.
- _helpURL: Cannot fetch the value of field '_helpURL' because information about the containing class is unavailable.
- _HResult: Cannot fetch the value of field '_HResult' because information about the containing class is unavailable.
- _innerException: Cannot fetch the value of field '_innerException' because information about the containing class is unavailable.
- _message: Cannot fetch the value of field '_message' because information about the containing class is unavailable.
- _remoteStackIndex: Cannot fetch the value of field '_remoteStackIndex' because information about the containing class is unavailable.
- _remoteStackTraceString: Cannot fetch the value of field '_remoteStackTraceString' because information about the containing class is unavailable.
- _source: Cannot fetch the value of field '_source' because information about the containing class is unavailable.
- _stackTrace: Cannot fetch the value of field '_stackTrace' because information about the containing class is unavailable.
- _stackTraceString: Cannot fetch the value of field '_stackTraceString' because information about the containing class is unavailable.
- _xcode: Cannot fetch the value of field '_xcode' because information about the containing class is unavailable.
- _xptrs: Cannot fetch the value of field '_xptrs' because information about the containing class is unavailable.
- Data: {System.Collections.ListDictionaryInternal}
- HelpLink: null
- HResult: -2146233079
- InnerException: null
- IsTransient: false
- Message: "Operation is not valid due to the current state of the object."
- Source: "System.Windows.Forms"
- StackTrace: " ... "
- System.Diagnostics.Debug.Write($exception.StackTrace)
- at System.Windows.Forms.DataGridView.DataGridViewDataConnection.ProcessListChanged(ListChangedEventArgs e)
- at System.Windows.Forms.DataGridView.DataGridViewDataConnection.currencyManager_ListChanged(Object sender, ListChangedEventArgs e)
- at System.Windows.Forms.CurrencyManager.OnListChanged(ListChangedEventArgs e)
- at System.Windows.Forms.CurrencyManager.List_ListChanged(Object sender, ListChangedEventArgs e)
- at System.ComponentModel.BindingList`1.OnListChanged(ListChangedEventArgs e)
- at System.ComponentModel.BindingList`1.InsertItem(Int32 index, T item)
- at System.Collections.ObjectModel.Collection`1.Add(T item)
- at System.ComponentModel.BindingList`1.AddNewCore()
- at System.ComponentModel.BindingList`1.System.ComponentModel.IBindingList.AddNew()
- at System.Windows.Forms.CurrencyManager.AddNew()
- at System.Windows.Forms.DataGridView.DataGridViewDataConnection.AddNew()
- at System.Windows.Forms.DataGridView.DataGridViewDataConnection.OnNewRowNeeded()
- at System.Windows.Forms.DataGridView.OnRowEnter(DataGridViewCell& dataGridViewCell, Int32 columnIndex, Int32 rowIndex, Boolean canCreateNewRow, Boolean validationFailureOccurred)
- at System.Windows.Forms.DataGridView.SetCurrentCellAddressCore(Int32 columnIndex, Int32 rowIndex, Boolean setAnchorCellAddress, Boolean validateCurrentCell, Boolean throughMouseClick)
- at System.Windows.Forms.DataGridView.OnCellMouseDown(HitTestInfo hti, Boolean isShiftDown, Boolean isControlDown)
- at System.Windows.Forms.DataGridView.OnCellMouseDown(DataGridViewCellMouseEventArgs e)
- at System.Windows.Forms.DataGridView.OnMouseDown(MouseEventArgs e)
- at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
- at System.Windows.Forms.Control.WndProc(Message& m)
- at System.Windows.Forms.DataGridView.WndProc(Message& m)
- at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
- at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
- at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
- at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
- at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
- at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
- at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
- at System.Windows.Forms.Application.Run(Form mainForm)
- at TestDataGridSource.Form1.Main() in E:\Programmation\app.net\TestDataGridSource\TestDataGridSource\Form1.cs:line 70
- at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
- at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
- at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
- at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
- at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
- at System.Threading.ThreadHelper.ThreadStart()
- Expression has been evaluated and has no value
|
Message édité par blackgoddess le 04-03-2007 à 19:00:33
|