Community
Participate
Working Groups
When tasks are declared over multiple lines, a breakpoint will only work on the end line of the declaration. Screams that we need a breakpoint location verifier for the Ant editor
Created attachment 16572 [details] Ant UI patch to provide the start of breakpoint location verification
Deferred
*** Bug 155082 has been marked as a duplicate of this bug. ***
Here are the comments from bug 155082, which has been marked as a duplicate of this bug. I feel these comments might get lost and will be worth condsidering when this bug gets assigned. Consider the following test script. I placed breakpoints on every line within the <project> element. The script has been annotated to show the lines at which the debugger stopped and did not stop. <project name="test" basedir="." default="build"> + <target name="build"> - <echo - message="Hello" - level="info" + /> + <echo> - Hello - </echo> - </target> </project> - A '+' at the start of the line indicates that the debugger stopped at the breakpoint. - A '-' at the start of the line indicates that the debugger did not stop at breakpoint. Consider this portion: - <echo - message="Hello" - level="info" + /> It is unfortunate that the only breakpoint that works is on the closing tag, "/>". I would have hoped that a breakpoint on the opening tag, "<echo", would also work. Consider this portion: + <echo> - Hello - </echo> In this case the reverse is true. You can set a breakpoint on the opening tag, "<echo>", but not on the closing tag, "</echo>". It would seem reasonable that if a breakpoint is set within an element that the debugger stops before executing the task described by the element. It is also worth noting that there is no visual clue that a breakpoint is valid or not. When attempting to place a breakpoint on an illegal line in the Java editor the breakpoint is automatically moved down to the next legal line.
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.
still valid
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag.