visual Unhandled exception in Debugger::HandleIPCEvent when breaking on certain breakpoint

前端 未结 3 753
一个人的身影
一个人的身影 2021-01-07 17:34

I get the following exception (in Dutch, English translation follows in the text) which breaks my debugger when I press \'OK\' it stops the debug session and closes the appl

相关标签:
3条回答
  • 2021-01-07 17:54

    (1) On the Debug menu->Windows->Exceptions, and enable all Thrown check boxes. Debug the application, it will show you the actual and detailed errors in a message Box.

    (2) Right click on the project/solution -> Properties -> Debug -> Uncheck "Enable visual studio hosting process".

    (3) Please also change the Platform target (X86/Any CPU/X64), re-compile the app, debug it again.

    (4)Tools > Options > Debugging > General > "Use Managed Compatibility Mode" checkbox.

    0 讨论(0)
  • 2021-01-07 17:57

    All answers described here do not guarantee 100% cure. What I am doing as a workaround is that just stepping over to the next line while debugging.After that I can see the value of that variable in the watch on mouse hover. (In my case, stepping over to next line does not change value)

    0 讨论(0)
  • 2021-01-07 18:12

    Right click on the project/solution -> Properties -> Debug -> Check "Enable native code debugging".

    0 讨论(0)
提交回复
热议问题