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.
this is to support fixes of sunstudio bug 5053421: In the debugging session, "Go to Source" is available only for line breakpoints, for functio bpt the action is not available. This require debuggercore support. I. Debuggercore support: =>[1] org.netbeans.modules.debugger.support.BreakpointSupport.getLine(this = <OBJECT>) "BreakpointSupport.java":109 [2] org.netbeans.modules.debugger.support.nodes.BreakpointNode.canGoToSource(this = <OBJECT>) "BreakpointNode.java":311 [3] org.netbeans.modules.debugger.support.actions.GoToSourceAction.enable(this = <OBJECT>, activatedNodes = <ARRAY>) "GoToSourceAction.java":48 [4] org.openide.util.actions.NodeAction.isEnabled(this = <OBJECT>) "NodeAction.java":123 [5] org.netbeans.core.ModuleActions.1.run(this = <OBJECT>) "ModuleActions.java":88 [6] org.openide.util.Task.run(this = <OBJECT>) "Task.java":136 [t@120 l@5]: In method getLine(): public Line getLine () { if (event != null && event.getTypeName().equals("FDLine")) { return getLineForLineBreakpointEvent(event); } if ((lines == null) || (lines.size () < 1)) return null; return (Line) lines.get (0); } debuggercore is looking for "FDLine" type of bpts, function breakpoints are "FDFunc" type of bpts, that why it wouldn't GoToSource. What we need is something like "FDSource" type of bpts for bpts that can be GoToSourced. We also need getLineForLineBreakpointEvent() for non-line-bpt.
'NO40'. Doesn't apply to 4.0.
Can I close this issue as it does not apply to nb40?
you mean you have complete solution in nb4.0 ? if you do, can you point me where the source is ?
Sorry, but I probably do not understand your request. Do you want to change some API of debuggercore or debuggerjpda modules? Or do you want to change some UI? Or do you have problem to implement some your feature in sunstudio? Does this bug applies to nb40 at all?
This issue does not apply to nb4.0. And the fixes are in 3.5V already. Hanz, you can close this issue.
The problem has been solved a year ago, therefore closing.