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 19045 - "Find Source" option on debugging into code without source either unclear or misbehaves
Summary: "Find Source" option on debugging into code without source either unclear or ...
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-04 14:39 UTC by iformanek
Modified: 2003-06-30 17:32 UTC (History)
1 user (show)

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 iformanek 2002-01-04 14:39:25 UTC
JDK 1.4, when I select "Find Source", nothing happens.
Moreover, from the name, it is very unclear to me what to expect - find in 
mounted filesystems? (that should be done automatically), search on local disk?
Comment 1 Jan Stola 2002-01-04 15:00:50 UTC
From the IDE Help (section Debugging Java Programs > Controlling
Program Execution > Stepping Through Your Program):

"Action on Step Into. Determines the action to perform when stepping 
into a method whose source is not available. You can step out of the 
method, stop and debug without source code, or step to the first 
method with source code mounted in the filesystem."

So, "Find Source" means "step to the first method with source code
mounted in the filesystem."

> when I select "Find Source", nothing happens

I expect that you tried to Step Into some JDK method
and because you didn't have JDK sources mounted,
the first method for which the debugger was able
to find source was the method in which the Step Into
action was invoked => the method call was executed
and the debugger returned back to this line.
Comment 2 iformanek 2002-01-04 15:49:04 UTC
This is still a usability issue, the meaning should be clear from the 
text, without requiring the user to read the documentation.

I suggest changing the text to something like "Stop at the first line 
with source"...
Comment 3 iformanek 2002-01-04 15:49:43 UTC
This is still a usability issue, the meaning should be clear from the 
text, without requiring the user to read the documentation.

I suggest changing the text to something like "Stop at the first line 
with source"...
Comment 4 Jan Jancura 2002-01-15 13:18:34 UTC
You are right. The name of action has been changed.
fixed in main trunk
Comment 5 Jan Stola 2002-02-18 09:09:30 UTC
Verified in Netbeans build 20020215.
Comment 6 Quality Engineering 2003-06-30 17:32:12 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.