简体   繁体   中英

VS 2013 unhandled win32 exception when debugging portable dll on Windows 8.1

I'm using Visual Studio 2013 w/ Update 2 on Windows 8.1. I have some newly written code in a portable library targeting Windows 8.1 and Windows Phone 8.1. When debugging a unit test on Windows 8.1, I get the following error popup: "A debugger is attached to vstest.executionengine.appcontainer.x86.exe but not configured to debug this unhandled exception. To debug this exception, detach the current debugger."

在此处输入图片说明

Unfortunately, it does not appear possible to detach the current debugger; I'm trapped in the modal dialog.

My code is a bit too complicated to show here. I'm going to try to prune it down to the minimum. I also tried running the same code in a simple sample app, but I'm getting strange issues in this context as well (the debugger just seems to lose the context; I don't see any errors - but my code just seems to hang at semi-random locations).

I've also tried configuring the debugger to break when exceptions are thrown. But there are no exceptions.

This is very confusing for me. I strongly believe my code is somehow responsible, but crashing the IDE doesn't seem like a thing I should be able to do in code.

Any tips appreciated.

Go to properties window of your winrt project application. Change the Application Process from Managed Only to Mixed (Managed and Native) in debug tab

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM