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 5849 - Debugger does not stop on breakpoints set in non-public non-inner classes.
Summary: Debugger does not stop on breakpoints set in non-public non-inner classes.
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Jan Chalupa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-02-23 23:24 UTC by Jan Chalupa
Modified: 2003-07-02 17:17 UTC (History)
0 users

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 Jan Chalupa 2000-02-23 23:24:04 UTC
The Debbuger fails to stop when a breakpoint is set in a secondary non-inner class within a file. Breakpoints set in inner classes of the public class work fine.

The debugger prints the following message:

  Cannot set the breakpoint: No code at line <n>, or class is optimized.

See the attached example.

Steps to reproduce:

1. Open the First.java example.
2. Set breakpoints in the Second class.
3. Run debugger.
Comment 1 Marek Grummich 2000-07-25 09:29:59 UTC
Priority is changed to P4 (normal).
Comment 2 Jan Stola 2001-03-15 15:52:42 UTC
Verified in Forte 2.0 and Pilsen (build 010301).
Comment 3 Quality Engineering 2003-07-02 17:17:18 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.