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 43503 - Breakpoint added to invalid line
Summary: Breakpoint added to invalid line
Status: CLOSED DUPLICATE of bug 42270
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-19 08:14 UTC by Jaromir Uhrik
Modified: 2006-03-24 10:21 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 Jaromir Uhrik 2004-05-19 08:14:51 UTC
[200405182245; j2sdk1.4.2_03]
1.Create new Java class
2.Into the Constructor write some lines of code
(e.g. 7 same lines 'System.out.println("");')
3.Try to add breakpoint to each newly added line
through the click on gutter
4.It only adds/toggles one breakpoint on the
closing bracket of the constructor

When I add a method into the class I see the same
behavior.
Comment 1 Milan Kubec 2004-05-19 10:14:31 UTC
After working with IDE for some time I'm not able to add line
breakpoint in gutter at all. I've created couple of projects and
opened some form files. Raising prio to P1.
Comment 2 Jan Jancura 2004-05-19 14:17:50 UTC
As designed. You can not put the breakpoint to new - uncompiled code.
Your use case is completely wrong. If you would like to put
breakpoints to new code, you should compile it first.
Comment 3 Milan Kubec 2004-05-19 14:37:03 UTC
We are talking about setting breakpoint *before* starting debugger.
User must be able to set breakpoint on any line before starting debugger.
Comment 4 Milan Kubec 2004-05-19 15:25:52 UTC
This issue was raised to P1 because of another issue later filed
separately, so lowering back to P2
Comment 5 Jan Jancura 2004-05-23 20:11:44 UTC

*** This issue has been marked as a duplicate of 42270 ***
Comment 6 Jaromir Uhrik 2004-08-12 16:58:38 UTC
Verified - duplicate.