Ant debugger

Download

Ant Debugger plugin enables Apache Ant build script debugging in IntelliJ Idea:
  • Open build file in editor
  • Set debug breakpoints:
    Ant breakpoints
  • Right click on editor to show context menu and select the "Debug" menu item to launch Ant debugger:
    Start Ant debugger
  • Wait until the Ant debugger stops on breakpoint then use step or resume debugger commands, investigate Ant variables and execution stack:
    Ant debugging
  • You can add Ant debug configuration from the Edit configurations dialog:
    Add configuration
    Then you select Ant file, Java SDK for debugging session:
    Ant debugger launch parameters

    Also you adjust Ant settings here: folder with Ant tasks, Java memory amount, debug port.

Note. Plugin requires Java SDK to launch Ant: plugin uses build file module, project or any SDK for JDK list (the plugin searches for Java SDK in this order and uses first found).

Installation: use Idea plugins manager:

  • open Settings > plugins
  • wait until the plugin list loads
  • right click on Ant Debugger plugin and select install / update from the context menu
  • restart Idea

Manual installation of plugin:

Supported Idea versions: Idea 8.1.x, Idea 9 (community and ultimate editions).

Ant debugger plugin is free

Please write to antdebugger at handyedit.com if there are errors / problems when using Ant debugger

Download