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.
method to be changed: org.netbeans.spi.debugger.jpda.SourcePathProvider.getURL (String relativePath, boolean global) bug to be fixed: 50467 - Double clicking on one item in stacktrack trace does not lead me anywhere This method is used to find source file during debugging. I need to add this param there to distinguish between finding sources for smart stepping feature, and for all other features like douuble click on stack trace. For double click on stack trace we would like to search all possible locations for sources (GlobalPathRegistry). But for smart stepping we would like to use sourcepath defined by project.
Created attachment 18363 [details] Diff
I have not found a way how to write regular Unit test for this stuff. EditorContext & SourcePathProvider implements bridge to Java module, src hierarchy, and projects modules. I have not find a way how to setup environment for all these modules, how to open project there and setup source hierarchy. Thats why I have created separate issue to track this problem, and I will work with this teams to fix it - 50969.
Closing this issue then.