[Bug 229855] New: "Greater than" breakpoint hit count condition represents >= instead of >

  • From:
  • To:
  • Subject: [Bug 229855] New: "Greater than" breakpoint hit count condition represents >= instead of >
  • Date: Thu, 16 May 2013 12:51:59 +0000
  • Auto-submitted: auto-generated

https://netbeans.org/bugzilla/show_bug.cgi?id=229855

             Bug #: 229855
        Issue Type: DEFECT
           Summary: "Greater than" breakpoint hit count condition
                    represents >= instead of >
    Classification: Unclassified
           Product: debugger
           Version: 7.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Priority: P3
         Component: Code
        AssignedTo: 

        ReportedBy: 

         QAContact: 



Product Version: NetBeans IDE Dev (Build 201305142300)
Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Linux version 3.0.0-12-generic running on amd64; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/dev
Cache directory: /home/cesilko/.cache/netbeans/dev

Description:
============
If user selects "Greater than" type of breakpoint hit count it actually stops
debugging when desired breakpoint hit count is reached not 1 hit later as it
should be.

Steps to reproduce:
===================
1. Create a sample Java application and add this code snippet into its
main(String[] args) method:

18        for (int i = 0; i < 10; i++) {
19            System.out.println("Round: " + i);
20        }

2. Create line 19 conditional breakpoint with "Greater than" type of "Break
when hit count is" rule and value 4.
3. Invoke "Debug > Debug Project" from main menu.
4. After a while debugging session is paused.
5. Verify that there are only 3 lines in the output instead of 4:
Round: 0
Round: 1
Round: 2

-- 
Configure bugmail: https://netbeans.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


[Bug 229855] New: "Greater than" breakpoint hit count condition represents >= instead of >

jkovalsky 05/16/2013

[Bug 229855] "Greater than" breakpoint hit count condition represents >= instead of >

mentlicher 05/17/2013

[Bug 229855] "Greater than" breakpoint hit count condition represents >= instead of >

mentlicher 05/18/2013

[Bug 229855] "Greater than" breakpoint hit count condition represents >= instead of >

quality 05/20/2013

[Bug 229855] "Greater than" breakpoint hit count condition represents >= instead of >

jkovalsky 05/27/2013

Project Features

About this Project

Debugger was started in November 2009, is owned by tpavek, and has 29 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close