This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Have this ant script: <?xml version="1.0" encoding="UTF-8"?> <project basedir="." default="all" name="helper"> <target name="all" depends="first, second, third"> <echo message="Running all targets"/> <property name="prop_all" value="pokus"/> </target> <target name="first" depends="second, third"> <echo message="Running first target"/> <property name="prop_1" value="ppp1"/> </target> <target name="second" depends="third"> <echo message="Running second target"/> <property name="prop_2" value="ppp2"/> </target> <target name="third"> <echo message="Running third target"/> <property name="prop_3" value="ppp3"/> </target> </project> 1, put breakpoint on line where prop_all is set 2, Invoke debug target all 3, Invoke Continue => only next one target is executed and execution does not continue till breakpoint.
reproducible
I am raising the priority, because the Continue behaviour is even worse in current NB build 200508231800. Continue must be invoked many times till exceution continues. After each Contine invocation, only message like 'build.xml:11 Target run' is written to output and nothing else happens.
The detection of when we're on a breakpoint is wrong.
Fixed in trunk: /cvs/ant/debugger/src/org/netbeans/modules/ant/debugger/AntDebugger.java,v <-- AntDebugger.java new revision: 1.4; previous revision: 1.3
Verified in 200512181900