From 814ba4718c578dbb5ea6836b1abc68c83609c439 Mon Sep 17 00:00:00 2001 From: robekras Date: Sun, 11 Dec 2005 15:33:35 +0000 Subject: [PATCH 1/1] 1) Added skipt counts and condition enabled info to breakpoint text. --- .../debug/ui/PHPDebugModelPresentation.java | 27 +++++++++++++------ 1 files changed, 18 insertions(+), 9 deletions(-) diff --git a/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/PHPDebugModelPresentation.java b/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/PHPDebugModelPresentation.java index 0e447a3..79821fa 100644 --- a/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/PHPDebugModelPresentation.java +++ b/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/PHPDebugModelPresentation.java @@ -158,15 +158,24 @@ public class PHPDebugModelPresentation extends LabelProvider implements IDebugMo } protected String getLineBreakpointText(PHPLineBreakpoint breakpoint) throws CoreException { - - StringBuffer label= new StringBuffer(); - - label.append(breakpoint.getMarker().getResource().getFullPath()); - label.append(" ["); //$NON-NLS-1$ - label.append(PHPDebugUiMessages.getString("PHPDebugModelPresentation.line")); //$NON-NLS-1$ - label.append(' '); - label.append(breakpoint.getLineNumber()); - label.append(']'); + StringBuffer label = new StringBuffer(); + + label.append (breakpoint.getMarker().getResource().getFullPath()); + label.append (" ["); //$NON-NLS-1$ + label.append (PHPDebugUiMessages.getString("PHPDebugModelPresentation.line")); //$NON-NLS-1$ + label.append (' '); + label.append (breakpoint.getLineNumber()); + label.append (']'); + + if (breakpoint.getHitCount () > 0) { + label.append (" [skip count "); + label.append (breakpoint.getHitCount ()); + label.append (']'); + } + + if (breakpoint.isConditionEnabled ()){ + label.append (" [conditional]"); + } return label.toString(); } -- 1.7.1