Re[4]: Странное поведение VS при возникновении Exception
От: BUTEK  
Дата: 16.08.11 02:23
Оценка:
K>После Dispose куда идет?

Он проходит по всем методам Dispose и завершается отладка

вот часть содержимого окна Output может как то поможет:
A first chance exception of type 'System.Runtime.Serialization.SerializationException' occurred in mscorlib.dll
A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
Step into: Stepping over non-user code 'System.Windows.Forms.ToolStripItem.HandleClick'
Step into: Stepping over non-user code 'System.Windows.Forms.Control.WmMouseUp'
Step into: Stepping over non-user code 'System.Windows.Forms.NativeWindow.DebuggableCallback'
Step into: Stepping over non-user code 'System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop'
Step into: Stepping over non-user code 'System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner'
Step into: Stepping over non-user code 'System.ComponentModel.Container.Dispose'
...
Step into: Stepping over non-user code 'System.Windows.Forms.Form.Dispose'
Step into: Stepping over non-user code 'System.ComponentModel.Component.Dispose'
Step into: Stepping over non-user code 'System.Windows.Forms.ApplicationContext.Dispose'
Step into: Stepping over non-user code 'System.Windows.Forms.Application.ThreadContext.DisposeThreadWindows'
Step into: Stepping over non-user code 'System.Windows.Forms.Application.ThreadContext.Dispose'
Step into: Stepping over non-user code 'System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner'
Step into: Stepping over non-user code 'System.Windows.Forms.Application.ThreadContext.RunMessageLoop'
Step into: Stepping over non-user code 'Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly'
The thread 'vshost.RunParkingWindow' (0x1390) has exited with code 0 (0x0).
The program '[4116] PDU-01.vshost.exe: Managed (v2.0.50727)' has exited with code -532459699 (0xe0434f4d).
The program '[4116] PDU-01.vshost.exe: Program Trace' has exited with code 0 (0x0).
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.