Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Dltk-dev] How to distinguish debug builds from ordinary builds

Would appreciate some help with a problem, two actually.

In launching a script, I need to (1) force a build of the specific script being launched and (2) differentiate the build based on whether the launch is a debug launch or a standard launch -- I need to alter the script compiler flags to add a debug flag for debug launches.

For the first issue, I have been looking at JavaLaunchDelegate#launch, accessible from my LaunchConfigurationDelegate extends ScriptLaunchDelegate, but not sure that will give me a way to force the build. 

For the second, the delegate has access to the mode flag, so the question is how best to pass the flag to the builder before the build occurs.

Thanks!

Back to the top