从 Windows Phone 8 设备中检索故障转储 [英] Retrieving crash-dump from Windows Phone 8 devices

查看:26
本文介绍了从 Windows Phone 8 设备中检索故障转储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在开发期间从 Windows Phone 8 中获取崩溃转储?我正在寻找一个类似于普通 Win32 应用程序崩溃时转储的文件.或者类似于崩溃时保存在 iOS 设备上的内容,以便稍后进行调查.

Is there a way to get crash-dumps out of Windows Phone 8 during development time? I am after a file that is dumped similarly to when a normal Win32 app crashes. Or similar to what is saved on iOS devices at crash to be investigated at a later point.

我的问题特别是关于在崩溃后以某种方式从手机中检索这个(或类似的)文件/信息,而我不必在我的代码中做任何事情,例如从未处理的异常手动将堆栈跟踪写入文件.

My question is specifically about somehow retrieving this (or similar) file/info from the phone after a crash without me having to do anything in my code e.g. manually writing the stack trace to a file from an unhandled exception.

我知道可以从已提交测试版的应用中获取实时"崩溃报告,但这不是我想要的.

I am aware the option of getting "live" crash reports from a beta-submitted app but that is not what I am after.

谢谢!

推荐答案

我认为没有您可以访问的故障转储.至少不是在 WP8 上.我不能说 8.1,但我对此表示怀疑.就个人而言,我正在使用此博客文章中的自定义 LittleWatson 类:

I don't think there is a crash-dump you can access. At least not on WP8. I can't say about 8.1, but I doubt it. Personally, I am using a custom LittleWatson class from this blog post:

http://darkgenesis.zenithmoon.com/adventures-in-unhandled-exception-handling-for-xnasilverlight/

向下滚动到开箱即用的 Silverlight"并获取课程.它已经配备了电子邮件任务,用于在方便时发送崩溃报告.

Scroll down to 'Out of the box Silverlight" and grab the class. It is already rigged with an email task for sending the crash report if that comes in handy.

这至少可以节省您手动编写崩溃报告保护程序的时间.

This will at least save you the time of writing a crash report saver manually.

这篇关于从 Windows Phone 8 设备中检索故障转储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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