Debugging Windows 8 App using windbg

2019-06-24 06:58发布

问题:

I have a Windows 8 Application Store app that needs to be debugged on one of our lab machines. The machines in the lab have windbg but do not have Visual Studio. When I launch the EXE using windbg, I get a message that says "This application can be ran only in the context of an app container".

Is there anyway to get Windbg.exe to create the app container context?

回答1:

WinDbg can attach pretty much to any running process. You can start your app in a regular way from the start screen and try to attach to it after that. I used this technique when debugging Win32 services.