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.
Build 200409100847 (Q-build) JDK 1.5 & 1.4.2_05 1) Have a Java Project with 1 file containing 2 classes (not inner class) e.g.: package javaapplication1; public class Main { public static void main(String[] args) { t = new MyTest(); } } class MyTest { public int i; public MyTest() { i = 7; } } 2) Set a breakpoint to the MyTest constuctor (at line "i = 7;" 3) Debug application 4) ERROR: Breakpoint is never reached, although you can step into the code using "Step Into (F7)" action.
Reproducible in trunk.
APi change is needed.
Fixed in the main trunk we are testing the class name using src hierarchy module now. QA: IMPORTANT CHANGES has been done in source code! Test carefuly line breakpoints in different locations like: normal class, innerclass, annonymous innerclass, annonymous innerclass in some other innerclass, secondary class, classes in "" package.... Checking in ant/src/org/netbeans/modules/debugger/projects/EditorContextImpl.java; /cvs/debuggerjpda/ant/src/org/netbeans/modules/debugger/projects/EditorContextImpl.java,v <-- EditorContextImpl.java new revision: 1.4; previous revision: 1.3 done Processing log script arguments... More commits to come... Checking in api/src/org/netbeans/spi/debugger/jpda/EditorContext.java; /cvs/debuggerjpda/api/src/org/netbeans/spi/debugger/jpda/EditorContext.java,v <-- EditorContext.java new revision: 1.5; previous revision: 1.4 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/debugger/jpda/EditorContextBridge.java; /cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/EditorContextBridge.java,v <-- EditorContextBridge.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/LineBreakpointImpl.java; /cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/breakpoints/LineBreakpointImpl.java,v <-- LineBreakpointImpl.java new revision: 1.15; previous revision: 1.14 done Processing log script arguments... More commits to come... Checking in ui/src/org/netbeans/modules/debugger/jpda/ui/EditorContextBridge.java; /cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/EditorContextBridge.java,v <-- EditorContextBridge.java new revision: 1.5; previous revision: 1.4 done Processing log script arguments... More commits to come... Checking in ui/src/org/netbeans/modules/debugger/jpda/ui/models/BreakpointsActionsProvider.java; /cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/BreakpointsActionsProvider.java,v <-- BreakpointsActionsProvider.java new revision: 1.8; previous revision: 1.7 done
Verified.