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 33967 - Conditional breakpoint doesn't work - regression
Summary: Conditional breakpoint doesn't work - regression
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: -S1S-
Hardware: PC All
: P1 blocker (vote)
Assignee: issues@debugger
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2003-05-28 14:54 UTC by Marek Grummich
Modified: 2003-07-09 14:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test.java (421 bytes, text/plain)
2003-05-28 14:55 UTC, Marek Grummich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Grummich 2003-05-28 14:54:38 UTC
S1S 5 Build 30527; j2sdk 1.4.1_02
The summary is self-explaining. Debugger doesn't
accept a valid breakpoint's condition (e.g.
index>50). 

Test case:  
1. Open an attached java file
2. Set (Ctrl-Shift-F8) a line conditional
breakpoint. Values: Class Name 'Test'; Line '6';
Condition 'index>50'; 
3. Start debugging session (Alt-F5)
Result:
4. Debugger stops immediately for the first run
within for-cycle (index=0)
Comment 1 Marek Grummich 2003-05-28 14:55:51 UTC
Created attachment 10486 [details]
Test.java
Comment 2 Jan Lahoda 2003-05-28 15:15:40 UTC
Just a note:
The conditional breakpoint works OK if you are just steping-over (and
the step over ends at the line with the breakpoint).
It does not work when executing over it, using Start debugging,
Continue, Run to Cursor, etc. (That means that the exectuion of the
debuggee is not stopped at the line with the breakpoint.)
Comment 3 Marek Grummich 2003-05-28 15:29:47 UTC
I forgot to mention the Debugger Console contains a following  text:
Incorrect condition: breakpoint at Line Test.java:6.
Breakpoint reached at line 6 in class Test by thread main.

Comment 4 Jan Jancura 2003-05-28 16:31:36 UTC
fixed in main trunk
Comment 5 Jan Chalupa 2003-05-28 17:57:08 UTC
Fix verified against release35.
Comment 6 Jan Jancura 2003-05-29 08:27:30 UTC
fixed in release35
Comment 7 Marek Grummich 2003-07-09 14:42:30 UTC
Verified - build 20030709100