Signal.st
changeset 10776 27ebdc435f1f
parent 9271 6be3fa0ab53d
child 10953 4cb95f800e7e
--- a/Signal.st	Tue Nov 06 00:47:14 2007 +0100
+++ b/Signal.st	Wed Nov 07 11:37:02 2007 +0100
@@ -9,7 +9,6 @@
  other person.  No title to or ownership of the software is
  hereby transferred.
 "
-
 "{ Package: 'stx:libbasic' }"
 
 Object subclass:#Signal
@@ -381,6 +380,16 @@
     "Modified: / 22.3.1999 / 12:45:42 / stefan"
 !
 
+catchInDebugger
+    "if set, the debugger will handle this signal in its event loop and will close itself
+     without asking for close-confirmation.
+     This allows for debugged processes to be terminated without a user confirmation dialog
+     (for now, this is used in expecco's hard-terminate function to shut down any open debuggers
+      together with the test-process)"
+
+    ^ false
+!
+
 exceptionHandlerFor:anException in:aContext
     "answer the exceptionHandler for anException from aContext."
 
@@ -958,5 +967,5 @@
 !Signal class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Signal.st,v 1.102 2006-03-14 12:54:25 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Signal.st,v 1.103 2007-11-07 10:37:02 ca Exp $'
 ! !