Ton van Overbeek wrote:
On 2005-09-22, Eric Potter <[EMAIL PROTECTED]> wrote:

I'm building an app with the prc-tools. When I go to debug it with Palm OS Debugger, it can't find any of the symbols. Is there something that I need to pass to build-prc so that the debugger can find the symbols? Or is it impossible to debug prc-tools based apps with the Palm OS debugger?



Works for me (with the standalone Palm OS Debugger).
Open the Files tab in Palm OS Debugger (or select Window -> Files Window from the main menu) after you have loaded your prc in the debugger.
You should have an Executables and Symbolics tree.
Check that your source files are in the symbolics tree with Path spec.
If not, you can add the path manually (just click on the file name).

Main problems is that the COFF format does not store the complete path name of the source file in the object file. With sourc, object and prc files in the same directory it should work. And of course you need to both compile and link with '-g' option, otherwise nothing works.

HTH
Ton van Overbeek


I still do see my symbolics.

I am calling m68k-palmos-gcc and build-prc with -g. Do I need to use it anywhere else?

Does it make a difference that prc is part 68k and part arm (linked with Peallink)?

In Palm OS debugger, I see my prc, but the Symbolics tree is empty. When I right click on the symbolics node, I get an option to "Add Symbolics File...", but I don't have an axf, elf, or psym file associated with my project. You said I could add the source files by just clicking on the file name. Can you elaborate on that?

Eric


--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to