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.
Summary: | debugger source roots not automatically added when project is open | ||
---|---|---|---|
Product: | debugger | Reporter: | emiddio <emiddio> |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Windows 7 x64 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
emiddio
2012-07-06 21:39:54 UTC
i notice the apache cxf sources appear under a tab 'remote-attach' but not associated with non 'remote-attach' tab. using Spring I can debug an integration test that makes use of the apache cxf sources but cannot get those sources automatically added to the debugging session even though the projects are open. either all open projects should be part of the debugger sources or there should be a way to added open projects sources to a debugger session. Does your project, which uses the 100 source roots, declare the correct dependency on them? I've found one problem in additional class paths, which is fixed by changeset: 240842:f8e9cf87bd13 http://hg.netbeans.org/core-main/rev/f8e9cf87bd13 The behavior may vary when you use a remote attach (all opened projects are taken into account) and when you run debug on a particular project (just that and it's dependent projects are taken into account). However, for instance, if you have a breakpoint in some opened project, which is not declared as dependent from the debugged one, the breakpoint should still work. almost never -99.9% of time 'nb debug' remote project -- always use remote attach. i usually dont declare project dependencys; i download source for jars i have to use and they usually end up as free-form ant project, or maven project, or sometime a nb java project, and sometime just a directory of sources that gets added with the debugger sources roots pane. hope this helps. -Gary Integrated into 'main-golden', will be available in build *201211250002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f8e9cf87bd13 User: mentlicher@netbeans.org Log: #215238: Fix a problem in the addition of additional class paths from opened projects. |