For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > April 2006 > Dectecting memory leaks running on emulator









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Dectecting memory leaks running on emulator
Jack101

2006-04-07, 7:05 pm

Hi,

I'm just getting started running my app on the smartphone emulator with
vs2005/windows mobile 5.
Of course, the first thing I find is that _crtBreakAlloc is undefined and I
can't use that methodology to track down any memory leaks.

So, how is it done (excluding commercial tools)?
I have read references to the "Application Verifier", which purports to
track down leaks.
However, I can't establish whether it works with the device emulator, does
it?

Of course I want to be able to trace all types of leaks allocateed with new
and malloc - not just windows handle leaks etc.

TIA

Thnaks



Yaroslav Goncharov

2006-04-10, 4:10 am

Application Verifier works with the device emulutor. A version for Windows
Mobile 5:
http://blogs.msdn.com/ce_base/archi...s_Mobile_5.aspx

--
Yaroslav Goncharov
Spb Software House, http://spbsoftwarehouse.com
Pocket PC Developer Network, http://pocketpcdn.com


"Jack101" <test@test.com> wrote in message
news:S6mdnS2GFcYcD6vZRVny2g@pipex.net...
> Hi,
>
> I'm just getting started running my app on the smartphone emulator with
> vs2005/windows mobile 5.
> Of course, the first thing I find is that _crtBreakAlloc is undefined and
> I
> can't use that methodology to track down any memory leaks.
>
> So, how is it done (excluding commercial tools)?
> I have read references to the "Application Verifier", which purports to
> track down leaks.
> However, I can't establish whether it works with the device emulator, does
> it?
>
> Of course I want to be able to trace all types of leaks allocateed with
> new
> and malloc - not just windows handle leaks etc.
>
> TIA
>
> Thnaks
>
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com