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 -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
