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.
Netbeans build 20010627 ----------------------- 1. Debugger cannot be started by Run to Cursor action. 2. When you debug some application and try to use Run to Cursor action, nothing happens.
On JDK 1.4.0b70.
The reason why Run to Curson action does not work: If Run to Cursor is invoked, JEditorPane managing focus have to be detected. It is done as follows: EditorCookie edCookie = (EditorCookie) activatedNodes [0].getCookie (EditorCookie.class); JEditorPane [] panes = edCookie.getOpenedPanes(); for (int x = 0; x < panes.length; x++) if (panes[x].isManagingFocus()) ... select this pane and apply the action on it ... However, in case of JDK 1.4, none of the opened panes returns true, if isManagingFocus () is called. It causes that the action is ignored.
Seems to be out of scope of the debugger modules -> moving to editor.
just changing summary
... from Bug Parade, search ismanagingfocus http://developer.java.sun.com/developer/bugParade/bugs/4476300.html
Bug fixed in pilsenfixes branch. The solution is to use isFocusOwner instead of isManagingFocus when working with JDK1.4. It also means that reflection must be used to call those methods. See <http://ffj.ebay/INF/integrationReport.jsp?id=3740> for details
I tested the JP3 and have to say that after installing all patches the problem persist - debugger cannot be started by run to cursor action
Additional info: the F4 key works but invoking actiop from menu doesn't.
*** Issue 15832 has been marked as a duplicate of this issue. ***
Build: Pilsen fcs OS: Linux RH 7.1 jdk: jdk1.4.0 b77 IDE patched with Jumbo patch 3.1 F4 key doesn't work, menu and button doesnt work.
My userdir has pointed into wrong not updated directory. F4 key works fine.
Summary for the merlin-patch: ----------------------------- 1. Everything is OK on JDK 1.3.x. 2. Shortcut (F4) works correctly on JDK 1.4. 3. Menu item and toolbar button don't work on JDK 1.4.
I think this is no longer an editor problem so I'm reassigning to debugger.
All three types of Run To Cursor action invocation work well using build 200110240100 and VM 1.4.0-beta2-b77.
Reopened due to wrong resolution.
Fixed in main trunk.
Verified in Netbeans build 20011029 with JDK1.4.0-beta2-build77.
Resolved for 3.3.x or earlier, no new info since then -> closing.