Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Render debug target as suspended if no reason is specified

Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.ui/ChangeLog,v
retrieving revision 1.41
diff -u -r1.41 ChangeLog
--- ChangeLog 26 Nov 2002 16:38:03 -0000 1.41
+++ ChangeLog 27 Nov 2002 15:49:46 -0000
@@ -1,3 +1,7 @@
+2002-11-27 Mikhail Khodjaiants
+ Render debug target as suspended if no reason is specified.
+ * CDTDebugModelPresentation.java
+
 2002-11-26 Mikhail Khodjaiants
  Fix for evaluation of _expression_ to address in the Memory view.
  GDB evaluates the array of chars to a string not an address.
Index: src/org/eclipse/cdt/debug/internal/ui/CDTDebugModelPresentation.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/CDTDebugModelPresentation.java,v
retrieving revision 1.25
diff -u -r1.25 CDTDebugModelPresentation.java
--- src/org/eclipse/cdt/debug/internal/ui/CDTDebugModelPresentation.java 16 Nov 2002 00:52:09 -0000 1.25
+++ src/org/eclipse/cdt/debug/internal/ui/CDTDebugModelPresentation.java 27 Nov 2002 15:49:46 -0000
@@ -362,6 +362,10 @@
      {
       return target.getName() + " (Breakpoint hit)";
      }
+     if ( info == null )
+     {
+      return target.getName() + " (Suspended)";
+     }
     }
    }
   }

Back to the top