使用windbg调试Windows 8 App [英] Debugging Windows 8 App using windbg

查看:31
本文介绍了使用windbg调试Windows 8 App的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 Windows 8 应用程序商店应用程序,需要在我们的一台实验室机器上进行调试.实验室中的机器有windbg,但没有Visual Studio.当我使用 windbg 启动 EXE 时,我收到一条消息,显示此应用程序只能在应用程序容器的上下文中运行".

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".

有没有办法让 Windbg.exe 创建应用程序容器上下文?

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

推荐答案

WinDbg 几乎可以附加到任何正在运行的进程.您可以从开始屏幕以常规方式启动您的应用程序,然后尝试附加到它.我在调试 Win32 服务时使用了这种技术.

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.

这篇关于使用windbg调试Windows 8 App的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆