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 190234 - Netbean Library Source Code Compile Error
Summary: Netbean Library Source Code Compile Error
Status: STARTED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-08 10:17 UTC by charles_zhw
Modified: 2010-10-12 15:13 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description charles_zhw 2010-09-08 10:17:52 UTC
This issue exist all version of Netbeans release. While we want to check
library's source code from netbeans it look like netbeans wouldn't know
instance or method inherit from father class. The example is that when I want
to debug Spring framework's source code there are many compile error exist
Spring's source code. Maybe this is happen because library's source code file
is more than one. It wouldn't into super class's method while debug a child class which call super class's method because library's source code have compile error. One solution is that we have to let this specify thread run which in order to into super class's method.
   By the way, I don't think IDE should tell user any compile error while we
open any library's source code because this behavior would confuse netbeans's
user. At this point netbeans would reference Eclipse's similar behavior because
Eclipse just display source code but we don't get any compile erroe. I don't
how Eclipse make it happen, maybe Eclipse just load library's class instead of
compile source code. Any way please discuss this issue. Thanks!
Comment 1 Tomas Zezula 2010-10-12 15:11:35 UTC
The errors in the library does nothing in common with debugging. As far as I know debugger does not step into (non-project) dependencies, but maybe it was changed. If you want to step into the library sources you have to enable the library sources in the Window/Debugging/Sources.
Comment 2 Tomas Zezula 2010-10-12 15:13:57 UTC
Non showing errors in libs is possible, keeping as enhancement.