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.
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)
Created attachment 10486 [details] Test.java
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.)
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.
fixed in main trunk
Fix verified against release35.
fixed in release35
Verified - build 20030709100