I discovered PalmDebugger in the 3.5 SDK and decided to see what I 
could do with it. The heap dump (hd) command has proven to be very 
useful in helping to eliminate memory leaks.

Then I tried to use the source level debugging feature. This does not 
appear to be working. If I use the Source->Load Symbols menu item, I 
get this in the Debugger window:

    error: unknown lexeme
    sym \add
    ^

If I use the Source->Install Database and Load Symbols menu item, up 
pops a file chooser dialog. I select my PRC file, hit OK, and then 
after a period of time that seems about right for downloading the PRC 
file to POSE, I get this:

    error: unknown lexeme
    sym \addprc "E:\\projects\\Lightning\\Lightning.prc
    ^

and the Console window shows

    E:\projects\Lightning\Lightning.prc
    Creating Database on card 0
     name: Lightning
     type appl, creator rcLi

    Corrupt database

After encountering these problems, I then noticed something that had up 
to now escaped my attention. When I launch PalmDebugger, it prints out 
a string of "Initializing ..." messages in the Debugger window. Among 
them appeared this:

    Loading startup script...
    CmdRunScript: error opening file UserStartup-PalmDebugger

I searched all of the SDK, and couldn't find any file named UserStartup-
PalmDebugger. I created an empty file of that name in the PalmDebugger 
directory, and that got rid of the error message, but I still get the 
"unknown lexeme" errors.

Nothing I can find in the Knowledge Base sheds any light on this. Has 
anybody gotten PalmDebugger working and can toss me a few clues? 
Thanks.

--
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