>Subject: Palm Debug console in CW6 crashes Win98 >From: [EMAIL PROTECTED] >Date: Sat, 14 Oct 2000 20:36:13 +0800 >I'm trying to squelch a memory leak in my app. POSE would >complain that I have a possible leak at 0x<blah>, and recommends >using 'hd 0' to find it. >So, I open up the debug console within CW6 and enter 'hd 0'. >CW6 freezes, and about 20secs later, I get the blue screen. >Pressing enter gives me a popup window in Win98 telling me that >KRNL386.EXE has caused a general protection fault. >Besides eyeballing, is there some other way of catching a leak? >I was hoping that looking at the return of 'hd 0' would give me > some clue of >what it is, but sadly, CW doesn't let me do that. >Help, anyone? >Thanks all. Presumably this message is happening in POSE with OS3.5 debug ROM. I find the "hd 0...." advise less than useful. Its really a last ditch approach. Did this just start happening in your code, or just start happening because you started using the v3.5 debug ROM? If the latter, ensure you are using FrmCloseAllForms() before exiting your program. Otherwise ensure all memory allocations have matching deallocations. Roger Stringer Marietta Systems, Inc. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
