如何查看异常详细信息Visual Studio"在用户回调期间遇到了无法处理的异常"

时间:2015-05-11 19:17:07

标签: c++ windows visual-studio debugging visual-studio-debugging

我的Visual Studio devenv.exe间歇性崩溃,如果我调试它,我会看到以下内容:

enter image description here

有没有办法查看抛出的异常,以便我可能知道导致崩溃的原因?

究竟是什么"用户回调"在这种情况下,它意味着它只是一个通用的"未处理的异常" Visual Studio可能显示的对话框如下所示:

enter image description here

这是我崩溃的devenv.exe进程的调用堆栈,如果这有助于解释如何查看任何异常详细信息。

>   user32.dll!_NtUserMessageCall@28()  Unknown
    user32.dll!_NtUserMessageCall@28()  Unknown
    user32.dll!_NtUserQueryWindow@8()   Unknown
    uxtheme.dll!_ThemeDefWindowProc(struct HWND__ *,unsigned int,unsigned int,long,int) Unknown
    uxtheme.dll!_ThemeDefWindowProcW@16()   Unknown
    user32.dll!_DefWindowProcW@16() Unknown
    user32.dll!_InternalCallWinProc@20()    Unknown
    user32.dll!_UserCallWinProcCheckWow@32()    Unknown
    user32.dll!_CallWindowProcAorW@24() Unknown
    user32.dll!_CallWindowProcW@20()    Unknown
    WindowsBase.ni.dll!66288900()   Unknown
    [Frames below may be incorrect and/or missing, no symbols loaded for WindowsBase.ni.dll]    
    WindowsBase.ni.dll!66288900()   Unknown
    user32.dll!_InternalCallWinProc@20()    Unknown
    user32.dll!_UserCallWinProcCheckWow@32()    Unknown
    user32.dll!_CallWindowProcAorW@24() Unknown
    user32.dll!_CallWindowProcW@20()    Unknown
    WindowsBase.ni.dll!662a385a()   Unknown
    WindowsBase.ni.dll!662a385a()   Unknown
    004ca2da()  Unknown
    user32.dll!_InternalCallWinProc@20()    Unknown
    user32.dll!_UserCallWinProcCheckWow@32()    Unknown
    user32.dll!_DispatchClientMessage@24()  Unknown
    user32.dll!___fnDWORD@4()   Unknown
    ntdll.dll!_KiUserCallbackDispatcher@12()    Unknown
    user32.dll!_NtUserMessageCall@28()  Unknown
    user32.dll!_RealDefWindowProcWorker@24()    Unknown
    user32.dll!_RealDefWindowProcW@16() Unknown
    uxtheme.dll!_ThemeDefWindowProc(struct HWND__ *,unsigned int,unsigned int,long,int) Unknown
    uxtheme.dll!_ThemeDefWindowProcW@16()   Unknown
    user32.dll!_DefWindowProcW@16() Unknown
    user32.dll!_InternalCallWinProc@20()    Unknown
    user32.dll!_UserCallWinProcCheckWow@32()    Unknown
    user32.dll!_CallWindowProcAorW@24() Unknown
    user32.dll!_CallWindowProcW@20()    Unknown
    WindowsBase.ni.dll!66288900()   Unknown
    WindowsBase.ni.dll!66288900()   Unknown
    user32.dll!_InternalCallWinProc@20()    Unknown
    user32.dll!_UserCallWinProcCheckWow@32()    Unknown
    user32.dll!_CallWindowProcAorW@24() Unknown
    user32.dll!_CallWindowProcW@20()    Unknown
    WindowsBase.ni.dll!662a385a()   Unknown
    WindowsBase.ni.dll!662a385a()   Unknown
    user32.dll!_InternalCallWinProc@20()    Unknown
    user32.dll!_UserCallWinProcCheckWow@32()    Unknown
    user32.dll!_SendMessageWorker@24()  Unknown
    user32.dll!_SendMessageW@16()   Unknown
    02bc900a()  Unknown
    02bc8c27()  Unknown
    WindowsBase.ni.dll!66288622()   Unknown
    WindowsBase.ni.dll!6628855a()   Unknown
    WindowsBase.ni.dll!6628ac3c()   Unknown
    WindowsBase.ni.dll!6628ab88()   Unknown
    mscorlib.ni.dll!727ada07()  Unknown
    mscorlib.ni.dll!727ad956()  Unknown
    mscorlib.ni.dll!727ad921()  Unknown
    WindowsBase.ni.dll!6628aaab()   Unknown
    WindowsBase.ni.dll!6628742b()   Unknown
    WindowsBase.ni.dll!662875ca()   Unknown
    WindowsBase.ni.dll!6628880b()   Unknown
    WindowsBase.ni.dll!6628875b()   Unknown
    WindowsBase.ni.dll!66288622()   Unknown
    WindowsBase.ni.dll!6628855a()   Unknown
    WindowsBase.ni.dll!66286cfe()   Unknown
    WindowsBase.ni.dll!662880e1()   Unknown
    004ca2da()  Unknown
    user32.dll!_InternalCallWinProc@20()    Unknown
    user32.dll!_UserCallWinProcCheckWow@32()    Unknown
    user32.dll!_DispatchMessageWorker@8()   Unknown
    user32.dll!_DispatchMessageW@4()    Unknown
    msenv.dll!MainMessageLoop::ProcessMessage(struct IMsoStdComponentMgr *,struct IVsWindowManager *,struct tagMSG &)   Unknown
    msenv.dll!CMsoCMHandler::EnvironmentMsgLoop(void)   Unknown
    msenv.dll!CMsoCMHandler::FPushMessageLoop(unsigned long)    Unknown
    msenv.dll!SCM::FPushMessageLoop(class SCMI *,unsigned long,void *)  Unknown
    msenv.dll!SCM_MsoCompMgr::FPushMessageLoop(unsigned long,unsigned long,void *)  Unknown
    msenv.dll!CMsoComponent::PushMsgLoop(unsigned long) Unknown
    msenv.dll!VStudioMainLogged(void)   Unknown
    msenv.dll!_VStudioMain()    Unknown
    devenv.exe!util_CallVsMain(struct MAINPARAM *,int *)    Unknown
    devenv.exe!CDevEnvAppId::Run(unsigned short *,int)  Unknown
    devenv.exe!_WinMain@16()    Unknown
    devenv.exe!__tmainCRTStartup()  Unknown
    kernel32.dll!@BaseThreadInitThunk@12()  Unknown
    ntdll.dll!___RtlUserThreadStart@8() Unknown
    ntdll.dll!__RtlUserThreadStart@8()  Unknown

0 个答案:

没有答案