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.
Product Version: NetBeans IDE Dev (Build 200812040201) Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) - create Mobile application - in HelloMIDlet switch to source view - add breakpoint to line 16 ( private boolean midletPaused = false; ) - create Mobile application - in HelloMIDlet switch to source view breakpint set to line 16
Ivan, could you explain this report? I am not sure I do understand.
you have 2 projects (ME projects) each of them has file with same name (HelloMIDlet.java) both files opened in source view add breakpoint to one file. it added, you can see icon in gutter switch to second file, you can see breakpoint icon at the same line, but it shouldn't be there
All debugger UI belongs to Java debugger because files has mime-type "text/x-java" . Setting breakpoint actions and annotations are handled by JPDA debugger. It seems org.netbeans.modules.debugger.jpda.projects.BreakpointAnnotationProvider somehow incorrectly set debugger annotations. So this is not J2ME issue.
This is a field breakpoint, right? Currently we do not distinguish the URL of the source file, field breakpoint is just set on the class and field name. Wherever the source is. Thus we'd need to associate the field (and method, class, exception, etc.) breakpoints with the project.
IMHO the priority is lower than P3. Usually this does not cause any harm. To solve this, we'd have to add some field for project URL to the field/method/class/exception breakpoint customizer. It would activate the breakpoint in the debugger session only if the given project, or it's "parent" project, is being debugged.