나는 내 컴퓨터에서 이상한 문제가 발생하고 있음을 알기 위해 이틀을 보냈다.Visual Studio 2003에서 낮은 수준의 시스템 예외를 디버깅하는 방법?
mdi 컨테이너로 만든 .NET 1.1로 작성된 매우 복잡한 이전 응용 프로그램을 디버깅 할 때 런타임시로드되는 다른 어셈블리가 Windows 인터페이스에서 mdi 하위 형식으로 사용자 지정 인터페이스를 구현합니다.
문제는 내 PC에서 (다른 PC에서 시도해도 작동 함) 응용 프로그램이 이상한 예외를 throw합니다. 이것은 관리 코드에 의해 생성 된 것이 아니며 예외를 통해 프레임 워크 자체를 야기하는 희귀 한 조건 일 수 있습니다.
코드로 코드에 주석을 달아 문제를 격리하려고 시도하지만 매우 오랜 시간이 걸립니다.
이 원하지 않는 예외의 원인을 더 빨리 어떻게 확인할 수 있습니까?
예외는 NullReferenceException이이며,이 스택 추적입니다 :
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at MyAPP in xxxx.vb:line 26
안녕 다니엘, 불행히도 제안 된 페이지가 Visual Studio 2008 또는 – Drake
@marco 인 경우 Visual Studio 2008 Express가이 문제를 해결할 것이라고 생각합니다. ;) – sisve
나는 VS2003 태그를 간과했다. 그러나 시몬이 제안했던 것처럼, 익스프레스 판은해야한다. –