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 - [82cat] Debugger breaks on incorrect condition
Summary: [82cat] Debugger breaks on incorrect condition
Status: NEW
Alias: None
Product: qa
Classification: Unclassified
Component: Test Specifications (show other bugs)
Version: 8.2
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-23 13:54 UTC by manikantannaren
Modified: 2016-08-12 16:36 UTC (History)
1 user (show)

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 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.