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 59369 - Enable debugging in platform sources by default
Summary: Enable debugging in platform sources by default
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks: 90398
  Show dependency tree
 
Reported: 2005-05-28 18:02 UTC by David Strupl
Modified: 2011-02-21 15:19 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 David Strupl 2005-05-28 18:02:42 UTC
If you add src.jar or other jars to a java platform they have debugging turned
off by default (in Window --> Debugging --> Sources). I thing that the default
should be to have it turned on.
Comment 1 Milan Kubec 2005-05-30 07:59:41 UTC
I don't think this is a defect. We already had that on by deafult but many users
were really confused when debugging their apps and suddenly debugging some
unknown source (JDK), it was very difficult to keep debugger just in user
application code. 
Stepping into JDK sources is sort of hardcore debugging and user who needs to do
that can enable it by himself easily. 

It could be probably solved in Platform Manager by checkbox "Use Sources for
Debugging".
Comment 2 David Strupl 2005-05-30 10:03:32 UTC
I was really confused when I tried step into (F7) and it ended in hell. If they
don't want to step inside they can use F8, cannot they?
Comment 3 Milan Kubec 2005-05-30 10:17:44 UTC
Of course they can ... if users do *only* what is right and required we wouldn't
need 70% of all code - I mean the code that does error handling.

I still think that it's more acceptable for experienced user to turn in ON than
for unexperienced to step into some "strange" code without knowing how to get
out or how to turn in OFF. In pre-ant-projects era it wasn't ON by default either.
Comment 4 David Strupl 2005-05-30 10:46:06 UTC
I assume I am experienced user. But if I would not be reading nbusers I would
*never* find out. What saved me was that I remember that Tom Ball gave some
advice some time ago:
http://www.netbeans.org/servlets/ReadMsg?listName=nbusers&msgNo=53658
If this was not there I would not be able to debug at all and I would have to
use something else than NetBeans. Do you think this is what we really want? BTW
what is wrong in stepping through JDK code? Can you show me how many users were
confused?
Comment 5 Martin Entlicher 2005-12-13 10:33:47 UTC
I understand David's confusion, we need to reconsider the current design. See
also issue #52601.
Comment 6 Martin Entlicher 2011-02-21 15:19:49 UTC
Already implemented.