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 51607 - Debugger does not stop on a breakpoint
Summary: Debugger does not stop on a breakpoint
Status: VERIFIED WORKSFORME
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker with 2 votes (vote)
Assignee: issues@debugger
URL:
Keywords:
: 51096 76213 (view as bug list)
Depends on: 52920 60640
Blocks:
  Show dependency tree
 
Reported: 2004-11-17 17:34 UTC by Tim Lebedkov
Modified: 2008-03-12 15:52 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 Tim Lebedkov 2004-11-17 17:34:24 UTC
I start the program with the following Ant target:

    <target name="debug" depends="compile"
description="Debug Project">
        <fail unless="netbeans.home">This target
can only run inside the NetBeans IDE.</fail>
        <nbjpdastart name="My App"
addressproperty="jpda.address" transport="dt_socket">
            <classpath path="lib/coffa.jar"/>
        </nbjpdastart>
        <echo message="${jpda.address}"/>
        <java fork="true"
classname="de.coffa.gui.Coffa"
classpath="lib/coffa.jar">
            <jvmarg value="-Xdebug"/>
            <jvmarg value="-Xnoagent"/>
            <jvmarg value="-Djava.compiler=none"/>
            <jvmarg
value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
        </java>
    </target>
Comment 1 Milan Kubec 2004-11-18 08:50:42 UTC
Is your project compiled with -g option (debug="true")?
Comment 2 Jan Jancura 2004-11-19 15:40:23 UTC
Do you have all your sourceroots listen in Sources View? Just start
debugging, go to Window menu / Debugging / Sources...

Comment 3 Tim Lebedkov 2004-11-20 09:28:44 UTC
I added debug = true and now it stops on the right line but after F8
it does not go to the next line. It continues the execution. The
sources view does not contain the sources from my project. Only JDK
sources are there. Is it a freeform-bug? Why does not the debugger
warn me about missing sources?
Comment 4 Jan Jancura 2005-04-13 09:26:52 UTC
No chance to fix in 4.1.
Comment 5 Roman Ondruska 2005-07-18 11:35:37 UTC
Can you send a reproducible test-case where stepping fails? Thanks.
Comment 6 Martin Entlicher 2005-08-16 15:35:04 UTC
This seems to be a duplicate of issue #51096... But it's not yet fully reproduced...
Comment 7 Martin Entlicher 2006-09-07 14:59:53 UTC
Likely a freeform issue. It looks there are two associated issues: issue #52920
and issue #60640.
Comment 8 Martin Entlicher 2006-11-20 22:51:48 UTC
*** Issue 51096 has been marked as a duplicate of this issue. ***
Comment 9 Martin Entlicher 2006-11-28 00:15:41 UTC
*** Issue 76213 has been marked as a duplicate of this issue. ***
Comment 10 Peter Pis 2007-05-07 08:05:17 UTC
lebedkov: Could you please provide some reproducible steps?
Comment 11 Tim Lebedkov 2007-05-07 11:24:23 UTC
Sorry, not 3 years after the initial post. The project does not exist anymore.
Maybe other people who voted for this issue could provide a test case.
Comment 12 Peter Pis 2007-08-02 10:57:02 UTC
Have you run into this problem for latest builds? It seems to be already fixed.
Comment 13 Tim Lebedkov 2008-03-12 15:52:02 UTC
ok
Comment 14 Tim Lebedkov 2008-03-12 15:52:28 UTC
ok