在Windows 8中调试OnFileActivated [英] Debugging OnFileActivated in Windows 8

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

问题描述

我已将Windows 8应用程序与文件类型相关联。但是,当我打开该文件时,我的应用程序开始打开,然后崩溃。

I've associated my Windows 8 App with a file type. However when I open that file my app starts to open and then crashes.

在连接调试器时,我找不到解决方法。

I can't figure out a way to do this while the debugger is attached.

我认为OnFileActiavted方法有问题,因此我求助于该方法中随机代码的更改。这行不通,所以我想知道如何调试此问题。

I assume there is something wrong with my OnFileActiavted method so I've resorted to changing random bits of code in that method. This isn't working, so I'm wondering how I should debug this problem.

推荐答案

这行得通吗?您可以调试而无需立即启动应用程序。您还可以调试其他人的应用程序。

Does this work? You can debug without launching the app immediately. You can also debug other people's apps.

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

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