Community
Participate
Working Groups
M20080123-0800 Add a .java file to a folder that is not on the buildpath. Double-click to create a breakpoint in the file (works). Double-clicking again to remove the breakpoint results in multiple breakpoints being created at the same location.
Only appears to be a problem with line breakpoints. Method breakpoints and watchpoints are created/removed as expected.
marking worksforme, cannot reproduce using I20080521-2000
Just checked breakpoint removing bug author mentioned: it's still there in build I20080521-2000. I created clean workspace and clean project. Added external jar to project and attached sources to it. And on specific line of specific file in the jar added BP cannot be removed by clicking on the ruler. OS: WinXP SP2 JVM: Sun 1.5.0_14 I'll attach my workspace shortly.
Created attachment 101719 [details] workspace for reproducing the issue Steps to reproduce: 1. switch eclipse to attached workspace 2. Add smslib.jar as external jar to project 123 (included in archive) 3. Link sources to smslib.jar (/src/ folder, also included) 4. Open org.smslib.AGateway in that jar 5. Try to enable/disable breakpoint on line 681 ( one with "while(true)" ) I can't remove/disable it (it just duplicates) but with 'breakpoints' view.
re-open
re-resolving as worksforme. The issue about external source from an archive is being tracked in bug 203807, and this bug deals with external source NOT in an archive. Will update 203807 about comments 3 and 4 and the attached workspace, thanks for the test case Vadim.
Michael, thanks for clarification. I misunderstood this issue's description in the first place. Just one remark: seems that this issue is about breakpoints in *.java files not included on the build path at all. I just extracted jar file and added 'external class folder' to the referenced resources and problem with breakpoint toggling remained.