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 43972 - Line breakpoints not working
Summary: Line breakpoints not working
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 4.x
Hardware: Sun All
: P1 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-28 11:37 UTC by Jan Lahoda
Modified: 2006-03-24 09:57 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 Jan Lahoda 2004-05-28 11:37:51 UTC
NB trunk build 200405271800, JDK1.4.2_04.

1. Create a new project with a main class and main
method.
2. Add to command to the main method:
System.err.println("1");
System.err.println("2");
3. Set line breakpoint on the first line (click on
the gutter)
4. Start project in debugger.
5. The debugger is runned, but does not stop on
the breakpoint.
Comment 1 Jan Jancura 2004-05-28 14:52:31 UTC
Works for me. There must be some other conditions. Try other
platforms, try clean build, ...
Comment 2 _ lcincura 2004-05-28 15:06:56 UTC
Reproducible on my machine on WinXP
Comment 3 Martin Grebac 2004-05-28 15:46:12 UTC
I'm able to reproduce with clean build/userdir, too.
Comment 4 Jan Jancura 2004-05-28 17:07:02 UTC
fixed in the main trunk:
RCS file:
/cvs/debuggerjpda/src/META-INF/debugger/netbeans-JPDASession/org.netbeans.modules.debugger.jpda.EngineContext,v
done
Checking in
src/META-INF/debugger/netbeans-JPDASession/org.netbeans.modules.debugger.jpda.EngineContext;
/cvs/debuggerjpda/src/META-INF/debugger/netbeans-JPDASession/org.netbeans.modules.debugger.jpda.EngineContext,v
 <--  org.netbeans.modules.debugger.jpda.EngineContext
initial revision: 1.1
done
Processing log script arguments...
More commits to come...
RCS file:
/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/EngineContext.java,v
done
Checking in src/org/netbeans/modules/debugger/jpda/EngineContext.java;
/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/EngineContext.java,v
 <--  EngineContext.java
initial revision: 1.1
done
Processing log script arguments...
More commits to come...
Checking in
src/org/netbeans/modules/debugger/jpda/actions/StepIntoActionProvider.java;
/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/actions/StepIntoActionProvider.java,v
 <--  StepIntoActionProvider.java
new revision: 1.3; previous revision: 1.2
done
Processing log script arguments...
More commits to come...
Checking in
src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointsEngineListener.java;
/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointsEngineListener.java,v
 <--  BreakpointsEngineListener.java
new revision: 1.11; previous revision: 1.10
done
Checking in
src/org/netbeans/modules/debugger/jpda/breakpoints/LineBreakpointImpl.java;
/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/breakpoints/LineBreakpointImpl.java,v
 <--  LineBreakpointImpl.java
new revision: 1.6; previous revision: 1.5
done
Processing log script arguments...
More commits to come...
Checking in
ui/src/org/netbeans/modules/debugger/jpda/ui/BreakpointOutput.java;
/cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/BreakpointOutput.java,v
 <--  BreakpointOutput.java
new revision: 1.5; previous revision: 1.4
done
Checking in
ui/src/org/netbeans/modules/debugger/jpda/ui/DebuggerOutput.java;
/cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/DebuggerOutput.java,v
 <--  DebuggerOutput.java
new revision: 1.11; previous revision: 1.10
done
Checking in
ui/src/org/netbeans/modules/debugger/jpda/ui/EngineContext.java;
/cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/EngineContext.java,v
 <--  EngineContext.java
new revision: 1.6; previous revision: 1.5
done
Checking in ui/src/org/netbeans/modules/debugger/jpda/ui/IOManager.java;
/cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/IOManager.java,v
 <--  IOManager.java
new revision: 1.9; previous revision: 1.8
done
Processing log script arguments...
More commits to come...
Checking in
ui/src/org/netbeans/modules/debugger/jpda/ui/models/SourcesModel.java;
/cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/SourcesModel.java,v
 <--  SourcesModel.java
new revision: 1.3; previous revision: 1.2
done
Comment 5 Jan Lahoda 2004-07-23 09:32:21 UTC
.