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

查看:21
本文介绍了在 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天全站免登陆