[hg] main-silver: #141545: Hit Count column is added to Breakpoi...

  • From:
  • To:
  • Subject: [hg] main-silver: #141545: Hit Count column is added to Breakpoi...
  • Date: Fri, 26 Apr 2013 21:48:06 -0700

changeset b294b7a6ba68 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/b294b7a6ba68
description:
        #141545: Hit Count column is added to Breakpoints view.

diffstat:

 debugger.jpda/manifest.mf                                                    
                   |    2 +-
 
debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointImpl.java
            |  105 +++-
 
debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointsEngineListener.java
 |    6 +
 
debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/FieldBreakpointImpl.java
       |    2 +-
 
debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/MethodBreakpointImpl.java
      |    2 +-
 
debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/ThreadBreakpointImpl.java
      |    2 +-
 
debugger.jpda/src/org/netbeans/modules/debugger/jpda/models/BreakpointsHitCountModel.java
       |  306 ++++++++++
 
debugger.jpda/src/org/netbeans/modules/debugger/jpda/models/Bundle.properties 
                  |   12 +
 8 files changed, 425 insertions(+), 12 deletions(-)

diffs (571 lines):

diff --git a/debugger.jpda/manifest.mf b/debugger.jpda/manifest.mf
--- a/debugger.jpda/manifest.mf
+++ b/debugger.jpda/manifest.mf
@@ -2,6 +2,6 @@
 OpenIDE-Module: org.netbeans.modules.debugger.jpda/2
 OpenIDE-Module-Localizing-Bundle: 
org/netbeans/modules/debugger/jpda/Bundle.properties
 OpenIDE-Module-Layer: 
org/netbeans/modules/debugger/jpda/resources/mf-layer.xml
-OpenIDE-Module-Specification-Version: 1.48
+OpenIDE-Module-Specification-Version: 1.49
 OpenIDE-Module-Provides: 
org.netbeans.api.debugger.jpda.JPDADebuggerEngineImpl
 OpenIDE-Module-Requires: org.netbeans.spi.debugger.jpda.EditorContext, 
org.netbeans.spi.debugger.jpda.SourcePathProvider
diff --git 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointImpl.java
 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointImpl.java
--- 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointImpl.java
+++ 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointImpl.java
@@ -68,6 +68,7 @@
 import java.util.HashMap;
 import java.util.Map;
 import java.util.Set;
+import java.util.concurrent.CopyOnWriteArrayList;
 import java.util.logging.Level;
 import java.util.logging.Logger;
 import javax.swing.SwingUtilities;
@@ -119,18 +120,20 @@
  *
  * @author   Jan Jancura
  */
-abstract class BreakpointImpl implements ConditionedExecutor, 
PropertyChangeListener {
+public abstract class BreakpointImpl implements ConditionedExecutor, 
PropertyChangeListener {
     
     private static final Logger logger = 
Logger.getLogger("org.netbeans.modules.debugger.jpda.breakpoints"); // NOI18N
 
-    private JPDADebuggerImpl    debugger;
-    private JPDABreakpoint      breakpoint;
-    private BreakpointsReader   reader;
+    private final JPDADebuggerImpl    debugger;
+    private final JPDABreakpoint      breakpoint;
+    private final BreakpointsReader   reader;
     private EvaluatorExpression compiledCondition;
     private List<EventRequest>  requests = new ArrayList<EventRequest>();
     private int                 hitCountFilter = 0;
     private int                 customHitCount;
     private int                 customHitCountFilter = 0;
+    private List<HitCountListener> hcListeners = new 
CopyOnWriteArrayList<HitCountListener>();
+    private volatile int        breakCount = 0;
 
     protected BreakpointImpl (JPDABreakpoint p, BreakpointsReader reader, 
JPDADebuggerImpl debugger, Session session) {
         this.debugger = debugger;
@@ -361,8 +364,9 @@
     private final Map<Event, Throwable> conditionException = new 
HashMap<Event, Throwable>();
     
     private Boolean processCustomHitCount() {
+        customHitCount++;
+        fireHitCountChanged();
         if (customHitCountFilter > 0) {
-            customHitCount++;
             switch (breakpoint.getHitCountFilteringStyle()) {
                 case MULTIPLE:
                     if ((customHitCount % customHitCountFilter) != 0) {
@@ -373,7 +377,7 @@
                     if (customHitCountFilter != customHitCount) {
                         return false;
                     }
-                    customHitCountFilter = 0;
+                    //customHitCountFilter = 0;
                     removeAllEventRequests();
                     break;
                 case GREATER:
@@ -388,7 +392,7 @@
         return null;
     }
 
-    public boolean processCondition(
+    boolean processCondition(
             Event event,
             String condition,
             ThreadReference threadReference,
@@ -397,7 +401,7 @@
         return processCondition(event, condition, threadReference, 
returnValue, null);
     }
 
-    public boolean processCondition(
+    boolean processCondition(
             Event event,
             String condition,
             ThreadReference threadReference,
@@ -524,6 +528,8 @@
         } catch (Exception ex) {
             Exceptions.printStackTrace(ex);
         }
+        breakCount++;
+        fireHitCountChanged();
         getDebugger ().fireBreakpointEvent (
             getBreakpoint (),
             e
@@ -942,6 +948,84 @@
         return name.equals (pattern);
     }
     
+    /**
+     * @return The current hit count, or <code>-1</code> when unknown.
+     */
+    public int getCurrentHitCount() {
+        if (customHitCountFilter > 0) {
+            return customHitCount;
+        } else if (breakpoint.getHitCountFilter() <= 0) {
+            // No JDI hit count involvement
+            return customHitCount;
+        } else {
+            // JDI hit count filter applied. We do not know how many times 
is the breakpoint hit actually.
+            return -1;
+        }
+    }
+    
+    public int getCurrentBreakCounts() {
+        return breakCount;
+    }
+    
+    /**
+     * @return The remaining hit counts till the breakpoint breaks 
execution, or <code>-1</code> when unknown.
+     */
+    public int getHitCountsTillBreak() {
+        if (customHitCountFilter > 0) {
+            switch (breakpoint.getHitCountFilteringStyle()) {
+                case MULTIPLE:
+                    return customHitCountFilter - (customHitCount % 
customHitCountFilter);
+                case EQUAL:
+                    int tb = customHitCountFilter - customHitCount;
+                    if (tb < 0) {
+                        tb = 0;
+                    }
+                    return tb;
+                case GREATER:
+                    tb = customHitCountFilter - customHitCount;
+                    if (tb <= 0) {
+                        tb = 1;
+                    }
+                    return tb;
+                default:
+                    throw new 
IllegalStateException(getBreakpoint().getHitCountFilteringStyle().name());
+            }
+        } else if (breakpoint.getHitCountFilter() <= 0) {
+            // No JDI hit count involvement
+            return 1;
+        } else {
+            // JDI hit count filter applied. We do not know how many times 
is the breakpoint hit actually.
+            return -1;
+        }
+    }
+    
+    public void resetHitCounts() {
+        if (customHitCountFilter > 0) {
+            customHitCount = 0;
+        } else if (breakpoint.getHitCountFilter() <= 0) {
+            // No JDI hit count involvement
+            customHitCount = 0;
+        } else {
+            // JDI hit count filter applied. We do not know how many times 
is the breakpoint hit actually.
+            // Ignore
+        }
+    }
+    
+    private void fireHitCountChanged() {
+        for (HitCountListener hcl : hcListeners) {
+            hcl.hitCountChanged(breakpoint);
+        }
+    }
+    
+    public void addHitCountListener(HitCountListener hcl) {
+        hcListeners.add(hcl);
+    }
+    
+    public void removeHitCountListener(HitCountListener hcl) {
+        hcListeners.remove(hcl);
+    }
+    
+    
     private static final class ValidityChangeEvent extends ChangeEvent {
         
         private String reason;
@@ -972,4 +1056,9 @@
         }
 
     }
+    
+    public static interface HitCountListener {
+        
+        void hitCountChanged(JPDABreakpoint bp);
 }
+}
diff --git 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointsEngineListener.java
 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointsEngineListener.java
--- 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointsEngineListener.java
+++ 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointsEngineListener.java
@@ -286,6 +286,12 @@
         }
     }
     
+    public BreakpointImpl getBreakpointImpl(Breakpoint bp) {
+        synchronized (breakpointToImpl) {
+            return breakpointToImpl.get(bp);
+        }
+    }
+    
     public void fixBreakpointImpls () {
         List<BreakpointImpl> bpis;
         synchronized (breakpointToImpl) {
diff --git 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/FieldBreakpointImpl.java
 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/FieldBreakpointImpl.java
--- 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/FieldBreakpointImpl.java
+++ 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/FieldBreakpointImpl.java
@@ -97,7 +97,7 @@
 public class FieldBreakpointImpl extends ClassBasedBreakpoint {
 
     
-    private FieldBreakpoint breakpoint;
+    private final FieldBreakpoint breakpoint;
     
     
     public FieldBreakpointImpl (FieldBreakpoint breakpoint, JPDADebuggerImpl 
debugger, Session session) {
diff --git 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/MethodBreakpointImpl.java
 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/MethodBreakpointImpl.java
--- 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/MethodBreakpointImpl.java
+++ 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/MethodBreakpointImpl.java
@@ -105,7 +105,7 @@
 */
 public class MethodBreakpointImpl extends ClassBasedBreakpoint {
     
-    private MethodBreakpoint breakpoint;
+    private final MethodBreakpoint breakpoint;
     
     
     public MethodBreakpointImpl (MethodBreakpoint breakpoint, 
JPDADebuggerImpl debugger, Session session) {
diff --git 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/ThreadBreakpointImpl.java
 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/ThreadBreakpointImpl.java
--- 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/ThreadBreakpointImpl.java
+++ 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/ThreadBreakpointImpl.java
@@ -79,7 +79,7 @@
 
     // variables 
...............................................................
 
-    private ThreadBreakpoint              breakpoint;
+    private final ThreadBreakpoint breakpoint;
 
     // init 
....................................................................
     
diff --git 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/models/BreakpointsHitCountModel.java
 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/models/BreakpointsHitCountModel.java
new file mode 100644
--- /dev/null
+++ 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/models/BreakpointsHitCountModel.java
@@ -0,0 +1,306 @@
+/*
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+ *
+ * Copyright 2013 Oracle and/or its affiliates. All rights reserved.
+ *
+ * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
+ * Other names may be trademarks of their respective owners.
+ *
+ * The contents of this file are subject to the terms of either the GNU
+ * General Public License Version 2 only ("GPL") or the Common
+ * Development and Distribution License("CDDL") (collectively, the
+ * "License"). You may not use this file except in compliance with the
+ * License. You can obtain a copy of the License at
+ * http://www.netbeans.org/cddl-gplv2.html
+ * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
+ * specific language governing permissions and limitations under the
+ * License.  When distributing the software, include this License Header
+ * Notice in each file and include the License file at
+ * nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the GPL Version 2 section of the License file that
+ * accompanied this code. If applicable, add the following below the
+ * License Header, with the fields enclosed by brackets [] replaced by
+ * your own identifying information:
+ * "Portions Copyrighted [year] [name of copyright owner]"
+ *
+ * If you wish your version of this file to be governed by only the CDDL
+ * or only the GPL Version 2, indicate your decision by adding
+ * "[Contributor] elects to include this software in this distribution
+ * under the [CDDL or GPL Version 2] license." If you do not indicate a
+ * single choice of license, a recipient has the option to distribute
+ * your version of this file under either the CDDL, the GPL Version 2 or
+ * to extend the choice of license to its licensees as provided above.
+ * However, if you add GPL Version 2 code and therefore, elected the GPL
+ * Version 2 license, then the option applies only if the new code is
+ * made subject to such option by the copyright holder.
+ *
+ * Contributor(s):
+ *
+ * Portions Copyrighted 2013 Sun Microsystems, Inc.
+ */
+package org.netbeans.modules.debugger.jpda.models;
+
+import java.util.List;
+import java.util.Set;
+import java.util.concurrent.CopyOnWriteArrayList;
+import javax.swing.JToolTip;
+import org.netbeans.api.debugger.LazyActionsManagerListener;
+import org.netbeans.api.debugger.Properties;
+import org.netbeans.api.debugger.jpda.JPDABreakpoint;
+import org.netbeans.modules.debugger.jpda.breakpoints.BreakpointImpl;
+import 
org.netbeans.modules.debugger.jpda.breakpoints.BreakpointsEngineListener;
+import org.netbeans.spi.debugger.ContextProvider;
+import org.netbeans.spi.debugger.DebuggerServiceRegistration;
+import org.netbeans.spi.debugger.ui.ColumnModelRegistration;
+import org.netbeans.spi.viewmodel.ColumnModel;
+import org.netbeans.spi.viewmodel.ModelEvent;
+import org.netbeans.spi.viewmodel.ModelListener;
+import org.netbeans.spi.viewmodel.TableModel;
+import org.netbeans.spi.viewmodel.TableModelFilter;
+import org.netbeans.spi.viewmodel.UnknownTypeException;
+import org.openide.util.NbBundle;
+import org.openide.util.WeakSet;
+
+/**
+ * Displays the breakpoints hit count.
+ * 
+ * @author Martin Entlicher
+ */
+@DebuggerServiceRegistration(path="netbeans-JPDASession/BreakpointsView", 
types={ TableModelFilter.class })
+public class BreakpointsHitCountModel implements TableModelFilter, 
BreakpointImpl.HitCountListener {
+    
+    public static final String HC_COLUMN_ID = "HitCountBreakCount";          
   // NOI18N
+    
+    private final List<ModelListener> listeners = new 
CopyOnWriteArrayList<ModelListener>();
+    private final ContextProvider lookupProvider;
+    private BreakpointsEngineListener breakpointsEngineListener;
+    private final Set<BreakpointImpl> bpImplListeningOn = new 
WeakSet<BreakpointImpl>();
+    
+    public BreakpointsHitCountModel(ContextProvider lookupProvider) {
+        this.lookupProvider = lookupProvider;
+    }
+
+    @Override
+    public Object getValueAt(TableModel original, Object node, String 
columnID) throws UnknownTypeException {
+        if (HC_COLUMN_ID.equals(columnID)) {
+            if (node instanceof JPDABreakpoint) {
+                JPDABreakpoint b = (JPDABreakpoint) node;
+                BreakpointImpl bpImpl = getBPImpl(b);
+                if (bpImpl == null) {
+                    return 
NbBundle.getMessage(BreakpointsHitCountModel.class, "MSG_HitCountUnknown");
+                }
+                int hc = bpImpl.getCurrentHitCount();
+                int bc = bpImpl.getCurrentBreakCounts();
+                boolean isHCFilterSet = b.getHitCountFilter() != 0;
+                int hctb = bpImpl.getHitCountsTillBreak();
+                if (isHCFilterSet && hctb >= 0) {
+                    //return hc2String(hc) + " / " + hc2String(bc) + " / " + 
hc2String(hctb);
+                    return 
NbBundle.getMessage(BreakpointsHitCountModel.class,
+                                               
"MSG_HitCountWithBreakCountToBreak",
+                                               hc2String(hc), hc2String(bc), 
hc2String(hctb));
+                } else {
+                    if (hc == bc) {
+                        return hc2String(hc);
+                    } else {
+                        //return hc2String(hc) + " / " + hc2String(bc);
+                        return 
NbBundle.getMessage(BreakpointsHitCountModel.class,
+                                                   
"MSG_HitCountWithBreakCount",
+                                                   hc2String(hc), 
hc2String(bc));
+                    }
+                }
+            } else if (node instanceof JToolTip) {
+                node = ((JToolTip) 
node).getClientProperty("getShortDescription");     // NOI18N
+                if (node instanceof JPDABreakpoint) {
+                    JPDABreakpoint b = (JPDABreakpoint) node;
+                    BreakpointImpl bpImpl = getBPImpl(b);
+                    if (bpImpl == null) {
+                        return 
NbBundle.getMessage(BreakpointsHitCountModel.class, "TT_HitCountUnknown");
+                    }
+                    int hc = bpImpl.getCurrentHitCount();
+                    int bc = bpImpl.getCurrentBreakCounts();
+                    int hctb = bpImpl.getHitCountsTillBreak();
+                    String tt;
+                    if (hctb >= 0) {
+                        tt = 
NbBundle.getMessage(BreakpointsHitCountModel.class,
+                                                 "TT_HitCountToBreak",
+                                                 hc2String(hc), 
hc2String(bc), hc2String(hctb));
+                    } else {
+                        tt = 
NbBundle.getMessage(BreakpointsHitCountModel.class,
+                                                 "TT_HitCount",
+                                                 hc2String(hc), 
hc2String(bc));
+                    }
+                    return tt;
+                } else {
+                    throw new UnknownTypeException(node);
+                }
+            } else {
+                throw new UnknownTypeException(node);
+            }
+        } else {
+            return original.getValueAt(node, columnID);
+        }
+    }
+    
+    private BreakpointImpl getBPImpl(JPDABreakpoint b) {
+        BreakpointsEngineListener bel = getBreakpointsEngineListener();
+        if (bel == null) {
+            return null;
+        }
+        BreakpointImpl bpImpl = bel.getBreakpointImpl(b);
+        if (bpImpl != null) {
+            synchronized (bpImplListeningOn) {
+                if (!bpImplListeningOn.contains(bpImpl)) {
+                    bpImpl.addHitCountListener(this);
+                    bpImplListeningOn.add(bpImpl);
+                }
+            }
+        }
+        return bpImpl;
+    }
+    
+    private static final String hc2String(int hc) {
+        return (hc >= 0) ? Integer.toString(hc) : "?";
+    }
+
+    @Override
+    public void setValueAt(TableModel original, Object node, String 
columnID, Object value) throws UnknownTypeException {
+        original.setValueAt(node, columnID, value);
+    }
+
+    @Override
+    public boolean isReadOnly(TableModel original, Object node, String 
columnID) throws UnknownTypeException {
+        if (HC_COLUMN_ID.equals(columnID)) {
+            return true;
+        } else {
+            return original.isReadOnly(node, columnID);
+        }
+    }
+    
+    @Override
+    public void addModelListener(ModelListener l) {
+        listeners.add(l);
+    }
+
+    @Override
+    public void removeModelListener(ModelListener l) {
+        listeners.remove(l);
+    }
+    
+    private void fireTableModelEvent(Object node) {
+        ModelEvent me = new ModelEvent.TableValueChanged(this, node, 
HC_COLUMN_ID);
+        for (ModelListener l : listeners) {
+            l.modelChanged(me);
+        }
+    }
+    
+    private BreakpointsEngineListener getBreakpointsEngineListener() {
+        synchronized (this) {
+            if (breakpointsEngineListener != null) {
+                return breakpointsEngineListener;
+            }
+        }
+        List<? extends LazyActionsManagerListener> lamls = 
lookupProvider.lookup(null, LazyActionsManagerListener.class);
+        for (LazyActionsManagerListener laml : lamls) {
+            if (laml instanceof BreakpointsEngineListener) {
+                BreakpointsEngineListener bel = (BreakpointsEngineListener) 
laml;
+                synchronized (this) {
+                    if (breakpointsEngineListener == null) {
+                        breakpointsEngineListener = bel;
+                    }
+                }
+                return bel;
+            }
+        }
+        return null;
+    }
+
+    @Override
+    public void hitCountChanged(JPDABreakpoint bp) {
+        fireTableModelEvent(bp);
+    }
+    
+    
+    @ColumnModelRegistration(path="netbeans-JPDASession/BreakpointsView")
+    public static final class HCColumn extends ColumnModel {
+        
+        private final Properties properties = Properties.getDefault ().
+            getProperties ("debugger").getProperties 
("views").getProperties(HC_COLUMN_ID);
+
+        @Override
+        public String getID() {
+            return HC_COLUMN_ID;
+        }
+
+        @Override
+        public String getDisplayName() {
+            return NbBundle.getMessage(BreakpointsHitCountModel.class, 
"TTL_HC_Column");
+        }
+
+        @Override
+        public String getShortDescription() {
+            return NbBundle.getMessage(BreakpointsHitCountModel.class, 
"TTL_HC_Column_Tooltip");
+        }
+
+        @Override
+        public int getColumnWidth() {
+            return properties.getInt("columnWidth", 80);
+        }
+
+        @Override
+        public void setColumnWidth(int newColumnWidth) {
+            properties.setInt("columnWidth", newColumnWidth);
+        }
+
+        @Override
+        public int getCurrentOrderNumber() {
+            return properties.getInt("currentOrderNumber", 
super.getCurrentOrderNumber());
+        }
+
+        @Override
+        public void setCurrentOrderNumber(int newOrderNumber) {
+            properties.setInt("currentOrderNumber", newOrderNumber);
+        }
+
+        @Override
+        public boolean isSortable() {
+            return true;
+        }
+
+        @Override
+        public boolean isSorted() {
+            return properties.getBoolean("sorted", super.isSorted());
+        }
+
+        @Override
+        public boolean isSortedDescending() {
+            return properties.getBoolean("sortedDescending", 
super.isSortedDescending());
+        }
+
+        @Override
+        public void setSorted(boolean sorted) {
+            properties.setBoolean("sorted", sorted);
+        }
+
+        @Override
+        public void setSortedDescending(boolean sortedDescending) {
+            properties.setBoolean("sortedDescending", sortedDescending);
+        }
+
+        @Override
+        public boolean isVisible() {
+            return properties.getBoolean("visible", false);
+        }
+
+        @Override
+        public void setVisible(boolean visible) {
+            properties.setBoolean("visible", visible);
+        }
+        
+        @Override
+        public Class getType() {
+            return String.class;
+        }
+        
+    }
+}
diff --git 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/models/Bundle.properties
 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/models/Bundle.properties
--- 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/models/Bundle.properties
+++ 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/models/Bundle.properties
@@ -74,3 +74,15 @@
 MSG_No_toString=No toString() method found.
 
 CTL_WatchDisabled=>disabled<
+
+TTL_HC_Column=Hit Count
+TTL_HC_Column_Tooltip=<Current hit count>/<Actual Break Count>/<Number of 
Hits remaining to the next break>
+MSG_HitCountWithBreakCount={0} / {1}
+MSG_HitCountWithBreakCountToBreak={0} / {1}, {2} hits to break
+MSG_HitCountUnknown=?
+TT_HitCount=Current hit count = {0},\
+            actual break count = {1}
+TT_HitCountToBreak=Current hit count = {0},\
+                   actual break count = {1},\
+                   number of hits remaining to the next break = {2}
+TT_HitCountUnknown=Unknown

[hg] main-silver: #141545: Hit Count column is added to Breakpoi...

mentlicher 04/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 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close