启用Windows Phone模拟器控制台窗口? [英] Enabling the Windows Phone Emulator console window?

查看:58
本文介绍了启用Windows Phone模拟器控制台窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



因为我的后台代理有一些内存问题我想激活Windows Phone 7模拟器的控制台窗口来检查内存使用量。



我正在学习如何做到这一点的教程,但我认为我做错了,因为我没有看到控制台窗口启动当我启动模拟器时:



http://nicksnettravels.builttoroam.com/post/2011/01/19/Windows-Phone-7-Console-Window-on-64-bit- machine.aspx
$


请查看我的注册表项的屏幕截图。我猜这就是问题所在!我正在使用Windows 7 64位PC。



亲切的问候,

Niels





Hi all,

Because I have some Memory issues in my Background Agent I would like to activate the console window for the Windows Phone 7 Emulator to check on the memory usage.

I was following a tutorial on how to do this, but I think I'm doing something wrong as I don't see the Console Window starting up when I launch the Emulator:

http://nicksnettravels.builttoroam.com/post/2011/01/19/Windows-Phone-7-Console-Window-on-64-bit-machine.aspx

Please see a screenshot of my registry key. I guess that's where the problem is! I'm using a Windows 7 64 bit PC.

Kind regards,
Niels


推荐答案

这种方法不受官方支持,但我认为使用System.Diagnostics.Debug.Writeline()更有用写入Visual Studio输出窗口。 这可以使用模拟器或实际设备,而不仅仅是模拟器。

That approach isn't officially supported, but I think it is more useful to use System.Diagnostics.Debug.Writeline() which writes to the Visual Studio Output window.  This works using either the emulator or an actual device, not just the emulator.

希望这会有所帮助,

Mark

Hope this helps,
Mark


这篇关于启用Windows Phone模拟器控制台窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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