"Paul A. Dugas" <[EMAIL PROTECTED]> wrote:

> I've got a leak and am trying to figure out how to use the
> 'hd 0' command to get some more info on the problem.  Am I
> supposed to be able to get a response to the command when
> the debugger is running?  How about when it's stopped at a
> breakpoint?  I can't in either case.  All I'm getting is
> the header then:
> 
>       #ERROR: Invalid flags field in heap header
>       #ERROR: Invalid size field in heap header
> 
> What's the trick?  TIA,

I don't use CodeWarrior, but I don't think that's important in this 
case. I run my app in POSE without using the debugger (gdb in my case), 
and "tap" the app launcher button on POSE to get my app to quit. When 
the "you've just leaked memory all over the place" dialog box appears, 
I launch PalmDebugger. Once it's all up and running, I hit the "Debug" 
button on the memory leak dialog, and almost instantly I get a prompt 
in the PalmDebugger console window. Then, I use the hd 0 command.

Hope this helps.

--
Roger Chaplin
<[EMAIL PROTECTED]>

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to