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.

Bug 238070 - no opened project with this source file
Summary: no opened project with this source file
Status: RESOLVED WORKSFORME
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.4
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-06 22:52 UTC by err
Modified: 2014-07-16 08:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description err 2013-11-06 22:52:01 UTC
I'm working on a module suite for NetBeans. I'm debugging an instance of NetBeans under NetBeans. I'm attempting to step into some NetBeans code and it stops at some java code after having run some java code. Some NB code is shown on the stack as "hidden source calls", as in this partial stack:

         javax.swing.text.TextAction.getTextComponent(TextAction.java:82)
HIDDEN   org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:292)
         com.raelity.jvi.swing.OpsBase.xact(OpsBase.java:65)
...

I have added netbeans-7.4-201310111528-src.zip as a source root.

If I double click on the hidden file, I see the message:
    Source path "org.netbeans.editor.BaseAction.java" was not found.
    The reason is likely no opened project with this source file.

I seem to recall that this used to work.
Isn't this a regression?

Is there some way to open a project without unzipping the source?
Comment 1 Jan Peska 2014-07-16 08:26:44 UTC
As far as I know there is no other way, the source has to be indexed in order to be opened. So you have to open the project or add specific project sources as a source root (e.g. actions/src).