1) Added skipt counts and condition enabled info to breakpoint text.
authorrobekras <robekras>
Sun, 11 Dec 2005 15:33:35 +0000 (15:33 +0000)
committerrobekras <robekras>
Sun, 11 Dec 2005 15:33:35 +0000 (15:33 +0000)
net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/PHPDebugModelPresentation.java

index 0e447a3..79821fa 100644 (file)
@@ -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();
        }