|
Re: compiler debug option on 3.4.2 [message #58366 is a reply to message #58343] |
Fri, 24 April 2009 20:18 |
Andrew Niefer Messages: 990 Registered: July 2009 |
Senior Member |
|
|
"compilerArg" is a top level build configuration property. It should be
set in the main builder's build.properties file.
There is also the "javacDebugInfo" property (whose values are "on" or
"off") which controls the debug attribute on the javac call.
Also if you set "logExtension=.xml" in the builder's build.properties
file, then the compiler should output xml files for logs, and the xml
files contain way more detail and might say something about debug info.
The top level build.properties file overrides anything you see in the
build.xml since ant properties don't change.
This might also be interesting to you:
http://aniefer.blogspot.com/2008/09/custom-compiler-argument s-in-pdebuild.html
-Andrew
Laurent Dubois wrote:
> hello,
>
> Trying to get the debug info in our application code, using the
> compilerArgs=-g option in our build.properties file
> Problem is that some of our plugins in our application do have the debug
> info (source and line numbers), but some others don't...
> I tried looking in each plugin folder at build time, to get some more info.
> each one has a build.xml file but they all look the same.
> The content of that file is actually weird. The compilerArgs and other
> properties show with the default values (<property name="compilerArg"
> value=""/>) for both the plugins that end up with the debug info, and
> the ones that don't.
> Also, each plugin folder has a javaCompiler...args file created (which
> seems to indicate the debug option is passed in properly...) Any way to
> troubleshoot this and figure why some plugins are not compiled with the
> debug option?
> This issue is preventing us from doing proper remote debugging. we can
> set break point in the plugin's code with the debug info, but not the
> other ones....
>
> Thanks,
>
|
|
|
|
Re: compiler debug option on 3.4.2 [message #596381 is a reply to message #58343] |
Fri, 24 April 2009 20:18 |
Andrew Niefer Messages: 990 Registered: July 2009 |
Senior Member |
|
|
"compilerArg" is a top level build configuration property. It should be
set in the main builder's build.properties file.
There is also the "javacDebugInfo" property (whose values are "on" or
"off") which controls the debug attribute on the javac call.
Also if you set "logExtension=.xml" in the builder's build.properties
file, then the compiler should output xml files for logs, and the xml
files contain way more detail and might say something about debug info.
The top level build.properties file overrides anything you see in the
build.xml since ant properties don't change.
This might also be interesting to you:
http://aniefer.blogspot.com/2008/09/custom-compiler-argument s-in-pdebuild.html
-Andrew
Laurent Dubois wrote:
> hello,
>
> Trying to get the debug info in our application code, using the
> compilerArgs=-g option in our build.properties file
> Problem is that some of our plugins in our application do have the debug
> info (source and line numbers), but some others don't...
> I tried looking in each plugin folder at build time, to get some more info.
> each one has a build.xml file but they all look the same.
> The content of that file is actually weird. The compilerArgs and other
> properties show with the default values (<property name="compilerArg"
> value=""/>) for both the plugins that end up with the debug info, and
> the ones that don't.
> Also, each plugin folder has a javaCompiler...args file created (which
> seems to indicate the debug option is passed in properly...) Any way to
> troubleshoot this and figure why some plugins are not compiled with the
> debug option?
> This issue is preventing us from doing proper remote debugging. we can
> set break point in the plugin's code with the debug info, but not the
> other ones....
>
> Thanks,
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04464 seconds