BSD
Ant Debugger
Products:
IntelliJ IDEA,
Android Studio
Vendor:
Alexei Orischenko
Email:
Website:
http://handyedit.com/antdebugger.html
SourceCode: com.handyedit.AntDebugger_4526.zip
Description:
Ant Debugger enables Apache Ant build script debugging:
- Open build file in editor
- Set debug breakpoints (screenshot 1)
- Right click on editor to show context menu (screenshot 2) and
select the "Debug" menu item to launch Ant debugger
- Wait until the Ant debugger stops on breakpoint then
use step or resume debugger commands, investigate Ant variables and execution stack (screenshot 3)
You can add Ant debug configuration from the Edit configurations dialog (screenshot 4).
Then you select Ant file, Java SDK for debugging session (screenshot 5).
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
Supported Idea versions: Idea 8.1.x, Idea 9 (community and ultimate editions).
Please write to antdebugger at handyedit.com if there are errors / problems when using Ant debugger
Downloads: 9148
Rating:
Participated in rating: 1
Recent change notes:
1.1.6
- Run setting: logging level (default, quiet, verbose, debug).
- Launch targets from context menu fix
1.1.5
- Show pathes in Ant variables (also avaliable in the Evaluate dialog by Alt-F8). The variable name is path element ID.
- Don't stop on property tasks when stepping only if the task is outside the current target
1.1.4
- Breakpoints fix for tasks with multiline empty tag
- Don't stop on patternset, path, tstamp tasks when stepping
1.1.3
- Create configuration from context menu: 'make' is disabled
- Don't stop on property, typedef, taskdef tasks when stepping
- Breakpoints fix for tasks with multiline open tag
1.1.2
- Step in / over / out support
- Run to cursor fixes
1.1.1
- Run configuration fix: create configuration
1.1
- Variable value tooltip, expression evaluation (Alt-F8)
- Run configuration: show targets from imported files
- Run configuration fix: reload targets list on build file change
1.0.8
- Set breakpoint fix for Windows
- Run configuration fix: create configuration in project without JDK
- Fix: determine that Ant process terminated on debugger connect
1.0.7
- Run configuration: build target selection
- Can debug target right clicking on it
- Run configuration: VM parameters
1.0.6
- Fix: projects with JDK 1.5
- Fix: step into macro-def
- Multiple files support fixes
1.0.5
- Ant launch fix for Windows: quotes
1.0.4
- Ant launch fix for Windows
1.0.3
- Fix for Windows: removed Java path checking
- Ant launch fix for Windows
1.0.2
- Configuration: custom Ant tasks folder
- Fix: don't block Ant build if Idea hasn't connected to it (timeout in build listener)
- More feedback for connect error
1.0.1
- Multiple XML files support
- UI enhancements
Comments:
The plugin works great on OS X, I've had some issues with XP, but the author has been very responsive in fixing bugs so far.
Kudos to Alexi for writing this!
It will be in next release
http://handyedit.com/antdebugger/ant-debugger.jar
http://handyedit.com/antdebugger/ant-debugger.jar
There are more feedback about connection error in the new version: dialog boxes, and console with Ant command line is shown even if hasn't connected.
1. Does debug tool window appear and what's Ant command line in it (in console tab)? Maybe Ant build hasn't started due errors in it.
2. Does your build uses custom Ant tasks? You need to select the folder with JARs that contain your custom tasks (Ant debug configuration).
3. Maybe, the port for debugging is used. Use netstat to see if there is a process that uses Ant debug port (see port number in Ant debug configuration).
Please write email with your details to antdebugger at handyedit.com, and we'll try to find what's wrong.