从 Windows Phone 8 设备中检索故障转储

编程入门 行业动态 更新时间:2024-10-28 06:22:54
本文介绍了从 Windows Phone 8 设备中检索故障转储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

有没有办法在开发期间从 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/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屋!

更多推荐

[db:关键词]

本文发布于:2023-04-25 13:52:21,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1117623.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:故障   设备   Windows   Phone

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!