Skip to main content

Running java program in debug mode using ant

1 reply [Last post]
Joined: 2006-08-23

Hi All,
I created a Java project with a HelloWorld java program . I use ant to build and run it.It runs fine.But when i want to run using eclipse debugger It did not stop at break points to let me step through the program.

Please help me to make the necessary changes in my script , so i can debug standalone java programs also.

Thanks for the help.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2006-05-12

You need to tell the java compiler to add debug information into the classes.

use this