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.

Bug 58583 - Continue behavior is not correct
Summary: Continue behavior is not correct
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-04 16:08 UTC by _ lcincura
Modified: 2006-03-24 12:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ lcincura 2005-05-04 16:08:20 UTC
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.
Comment 1 Jan Jancura 2005-05-05 10:19:34 UTC
reproducible
Comment 2 _ lcincura 2005-08-24 14:12:47 UTC
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.
Comment 3 Martin Entlicher 2005-10-31 14:23:16 UTC
The detection of when we're on a breakpoint is wrong.
Comment 4 Martin Entlicher 2005-10-31 16:00:03 UTC
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
Comment 5 _ lcincura 2005-12-20 12:36:42 UTC
Verified in 200512181900