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 204126 - Debugger steps through javadoc on swing classes
Summary: Debugger steps through javadoc on swing classes
Status: RESOLVED INVALID
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.0.1
Hardware: All All
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-23 17:59 UTC by mjr_1974
Modified: 2011-10-24 14:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
picture of the problem (67.95 KB, image/png)
2011-10-23 18:03 UTC, mjr_1974
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mjr_1974 2011-10-23 17:59:47 UTC
Product Version = NetBeans IDE 7.0.1 (Build 201107282000)
Operating System = Linux version 2.6.35-30-generic running on amd64
Java; VM; Vendor = 1.7.0
Runtime = Java HotSpot(TM) 64-Bit Server VM 21.0-b17

I am trying to debug a custom ComboBox, so I am debugging a test to find why a feature is not working as expected. As soon the debugger steps into the JComboBox class, it shows the steps in the Javadoc, not the actual code, making my  task almost impossible.  Please see attached image.
Comment 1 mjr_1974 2011-10-23 18:03:08 UTC
Sorry, I didn't realize I used Priority 1, changed it to 2.
Comment 2 mjr_1974 2011-10-23 18:03:17 UTC
Created attachment 112352 [details]
picture of the problem
Comment 3 Martin Entlicher 2011-10-24 14:07:23 UTC
This is caused by a different version of JDK sources and JDK binary.
The line numbers are shifted. Please have a look into Window -> Debugging -> Sources and check that the src.jar is from the correct JDK version.