Building JOGL native libs with debug info?

I need to diagnose some issues with an app I’m working on and I wanted to know if it was possible to build JOGL’s native libraries (libjogl.so and so on) with debug info enabled. I’ve tried modifying the build.xml to set c.compiler.debug to true (this was the only step that seemed to make sense), but my debugger still doesn’t give me info in my stack trace and a dwarfdump call on the library seems to show that no debug info was generated. Making a diff between the library generated with c.compiler.debug set to false and the library when set to true also resulted in no difference being detected. The steps I need to take to enable debug info aren’t documented, so I’m wondering what I’m missing.

Thanks for your time.

Edited to add:

Well obviously I found out the answer only 30 minutes after sending this post. For people who might be interested, you need to modify the jogl.properties to add the line c.compiler.debug=true.

Should we document this better? Do you have a suggestion where this should go (the JOGL Users’ Guide or somewhere else)?