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 267268

Summary: [82cat] Debugger breaks on incorrect condition
Product: qa Reporter: manikantannaren <manikantannaren>
Component: Test SpecificationsAssignee: issues@qa <issues>
Status: NEW ---    
Severity: normal CC: mentlicher
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description manikantannaren 2016-07-23 13:54:37 UTC
Test Suite: http://services.netbeans.org/synergy/client/app/index.html#/suite/1657/v/1
Test Case: Breakpoint hit count greater than - http://services.netbeans.org/synergy/client/app/index.html#/case/1176/suite/1657/v/1


Expected Value of counter j - 997
Actual value of counter j - 998
Comment 1 Martin Entlicher 2016-08-12 16:36:17 UTC
This is a bug in the test specification.
When the hit count is greater than 998, then the breakpoint breaks on 999 pass through the cycle.

The breakpoint is hit for the first time when j = 0. For the second time when j = 1 and therefore it's hit for 999 time when j = 998. Thus the debugger behavior is correct.

The test spec should be corrected.