关于模拟器上内存泄漏检查

0 views
Skip to first unread message

zou chuanwei

unread,
Feb 25, 2010, 3:11:19 AM2/25/10
to iToday-D...@googlegroups.com
   最近写了一个WM应用,想知道该应用有没有内存和资源泄漏。于是乎按照MSDN的文档http://msdn.microsoft.com/en-us/library/bb278113.aspx和相关资料说明,
使用Application Verifier来检查内存泄漏。先安装了Application Verifier,然后安装了Microsoft WinCE 5.0 Test Kit(没有安装Platform Builder)。使用WM6.5的模拟器
连接,发现在Windows CE Test Kit上选择配好的default device右键点击选择tool无法弹出Application Verifier。换用WM5.0的模拟器可以弹出Application Verifier,但是
在连接过程中一直无法连接上,不知道各位有没有遇到这个问题,希望大家可以帮忙看看。
另外,在Windows Mobile平台上有没有其他的内存泄漏检查办法呢?以及如何尽量避免内存和资源泄漏呢?抛砖引玉,大家可以谈谈自己的看法。

EricWang

unread,
Apr 7, 2010, 8:12:00 AM4/7/10
to iToday Windows Mobile Developers
这个长城盾害死人,这个Google一直不方便上就没怎么上了,今天用公司的网居然直接就可以上了,估计直接走微软总部的网管。
Application Verifier我记得需要替换系统的一些dll,当时我在比亚迪时是自己烧的特定版本的系统镜像,然后就可以得到结果了,但
是我本人没弄个,只是问过别人做过的。
我记得Windows Mobile开发文档里面有相关介绍,你搜一下看看:Application Verifier,过几天我了解下微软dev是怎
么查的。

Chunlin Zhang

unread,
Apr 7, 2010, 8:36:20 AM4/7/10
to itoday-d...@googlegroups.com
google groups 翻墙办法,修改 hosts:
74.125.95.102 groups.google.com
然后用 https://groups.google.com 上就没问题了.

2010/4/7 EricWang <wangke...@gmail.com>:

zou chuanwei

unread,
Apr 8, 2010, 11:06:39 AM4/8/10
to itoday-d...@googlegroups.com
克伟,Group可以用Gmail订阅,直接在Gmail里讨论,不用登录group的。
如果有好的内存泄漏检测方法,贴出来哈,分享一下。

--
To unsubscribe, reply using "remove me" as the subject.

Chunlin Zhang

unread,
Apr 8, 2010, 9:17:06 PM4/8/10
to itoday-d...@googlegroups.com
这里提到了一些工具: http://sunxiunan.com/?p=1546

大概是: visual leak detector (
https://sites.google.com/site/dmoulding/vld ),Debug Diag
Tool,purify,boundschecker,WinDbg
http://en.wikipedia.org/wiki/Memory_debugger

不过我不知道在 WM 上能不能用...

2010/4/8 zou chuanwei <zouch...@gmail.com>:

kewei wang

unread,
Apr 9, 2010, 1:20:16 PM4/9/10
to itoday-d...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages