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 51761

Summary: Possibility to add external source folder to debug session
Product: debugger Reporter: Libor Kotouc <lkotouc>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: CLOSED FIXED    
Severity: blocker CC: mgrebac, pjiricka, raccah, zgursky
Priority: P2    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 90398, 89617    

Description Libor Kotouc 2004-11-23 15:56:25 UTC
Missing possibility to add external folder into
set of source folders and libraries where debugger
looks for source files.
I would expect this feature in Debugging>Sources
window.
Yes, there is possibility to create new project
with the same source folder(s) as folder(s) which
you want to add, but this is not intuitive and
this is not what you really want to do.
Comment 1 Roman Ondruska 2005-05-12 10:53:55 UTC
Thanks for this report. I agree.
Comment 2 Roman Ondruska 2005-05-12 11:09:11 UTC
See also issue #53567
Comment 3 Martin Entlicher 2005-11-08 16:01:32 UTC
*** Issue 52038 has been marked as a duplicate of this issue. ***
Comment 4 Martin Entlicher 2005-11-08 16:05:04 UTC
See also issue #61777 - the sources needs to be accessible before the debugger
session starts.
Comment 5 Martin Entlicher 2005-12-13 10:19:16 UTC
*** Issue 54209 has been marked as a duplicate of this issue. ***
Comment 6 Rochelle Raccah 2006-06-26 21:23:01 UTC
I think this is a defect, not an enhancement.

I was trying to debug something and tried 2 approaches in addition to not
finding the possibility in this sources window:
1) opening the source in favorites, then checking it to be included in this window
2) adding a dir to the sources/debugging in the platform manager

Finally a coworker told me I had to create a project from existing sources to do
this. I was stuck otherwise.
Comment 7 Martin Entlicher 2007-04-17 14:30:29 UTC
Fixed in trunk:

/cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.41; previous revision: 1.40

/cvs/debuggerjpda/ui/src/org/netbeans/modules/debugger/jpda/ui/models/SourcesModel.java,v
 <--  SourcesModel.java
new revision: 1.20; previous revision: 1.19
Comment 8 Quality Engineering 2010-04-29 09:20:17 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.