Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Fw: [wtp-dev] Debug Option for Builds

Folks may already know this but I just thought I'd share what I recently learned about setting different debug levels in PDE builds...

To run with full debug (as in -g), the javacDebugInfo property needs to be "on", i.e. in the "all" target of cruise.xml, the argument -DjavacDebugInfo=on
should be passed in.

If you don't want full debug but only partial like "-g:{lines}" or "-g{lines,source}", this can be done by using the compilerArg property, like this: -DcompilerArg="-g:lines,source"
in addition to

Rupam S. Kuehner
IBM Toronto Lab
8200 Warden Avenue, Markham, Ont. L6G 1C7
Internal mail: D3/R8V/8200/MKM  (T/L): 969-3859  PWA: D3-342
Phone: (905)413-3859  Fax: (905)413-4920  mailto:rsinha@xxxxxxxxxx

----- Forwarded by Rupam Kuehner/Toronto/IBM on 12/13/2004 03:43 PM -----
Nirav Sheth <nssheth@xxxxxxxxxx>
Sent by: wtp-dev-admin@xxxxxxxxxxx

12/13/2004 02:46 PM

Please respond to

[wtp-dev] Debug Option for Builds

I am seeing this message everytime I add breakpoint. Is there a way we can add the -debug option during the build process, so the line number attributes are generated. Many people have come across this exact message and the common workaround right now is to load all the code from the repo.

Nirav S. Sheth
Rational J2EE Tools Development
Tel: 919-254-5186 (T/L: 444-5186)
email: nssheth@xxxxxxxxxx

Back to the top