Joined: May 25, 2003 Posts: 4752 Location: Santa Barbara, CA
Posted: Fri Jan 23, 2004 2:57 am Post subject: Building with full debug symbols?
hey Patrick, I have this somewhere in an aim chat log but can't seem to find it in a search...
How is it possible to build NeoJ with full debug symbols? I'd need debug symbols for the base OOo compilation phase (e.g. passing options to dmake) as well as debug info for specific NeoJ libraries.
Specifically, I'm working on the Ximian icon addition for NeoJ. Unfortunately, something is going wrong with my modifications to the Bitmap class...and printf debugging has been unsuccssful. I am hopeful that having symbolics would help me trace the cause of the crash or error. It may be either in OOo, or it could very easily be in the files created by the bmpmaker app used to construct the resource files.
When I want to enable debug support, I usually rebuild a previously built NeoJ replacement library (e.g. libvcl641mxp.dylib) and copy it into a previously build NeoJ installation.
To rebuild a NeoJ library, just open a Terminal, source neojava/build/MacosxEnvJava.Set (neojava/build/MacosxEnv.Set is for the OOo portion of the build), cd into the NeoJ replacement code (e.g. neojava/vcl), and rebuild like you would for an OOo project (e.g build for a simple rebuild or build -u debug=true for full rebuild with debug symbols).
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum