Using a Java Debugger

Occasionally, you’ll run into a case in which the information provided by the debug flag is still not enough to solve the problem. In such a case, there is a powerful weapon that can be used to help track down the bug: a Java debugger. If you’re not a Java developer, you’ll want to enlist the assistance of a developer. If none is available, you might want to skip the rest of this section and move on to the one of the many available support channels.

Setting Up for Debugging Ant

The first step in this process (assuming that you have your favorite debugger ready to go) is to acquire the source. The instructions in Chapter 1, “Introduction to Ant,” tell you how to get the latest Ant binary. That distribution does not include ...

Get Ant Developer’s Handbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.