Merged MethodWithBreakpoints from /trunk jv
authorJan Vrany <jan.vrany@fit.cvut.cz>
Fri, 07 Sep 2012 18:57:01 +0100
branchjv
changeset 17967 b1ec43d6f18e
parent 17966 8b5df02e171f
child 17968 c354ab0a9e28
Merged MethodWithBreakpoints from /trunk
MethodWithBreakpoints.st
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MethodWithBreakpoints.st	Fri Sep 07 18:57:01 2012 +0100
@@ -0,0 +1,79 @@
+"
+ COPYRIGHT (c) 2012 by Claus Gittinger
+              All Rights Reserved
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice.   This software may not
+ be provided or otherwise made available to, or used by, any
+ other person.  No title to or ownership of the software is
+ hereby transferred.
+"
+"{ Package: 'stx:libbasic' }"
+
+Method variableSubclass:#MethodWithBreakpoints
+	instanceVariableNames:'originalMethod'
+	classVariableNames:''
+	poolDictionaries:''
+	category:'Kernel-Methods'
+!
+
+!MethodWithBreakpoints class methodsFor:'documentation'!
+
+copyright
+"
+ COPYRIGHT (c) 2012 by Claus Gittinger
+              All Rights Reserved
+
+ This software is furnished under a license and may be used
+ only in accordance with the terms of that license and with the
+ inclusion of the above copyright notice.   This software may not
+ be provided or otherwise made available to, or used by, any
+ other person.  No title to or ownership of the software is
+ hereby transferred.
+"
+!
+
+documentation
+"
+    support for line-Breakpoints
+
+    instances of me are created when line-breakpoints are placed.
+    The only function I serve is to provide the originalMethod information,
+    and an easy way to check for having a breakpoint (is breakpointed).
+
+    [author:]
+        Claus Gittinger
+
+    [see also:]
+        Tools::BreakpointService
+"
+! !
+
+!MethodWithBreakpoints methodsFor:'accessing'!
+
+originalMethod
+    ^ originalMethod
+!
+
+originalMethod:something
+    originalMethod := something.
+! !
+
+!MethodWithBreakpoints methodsFor:'queries'!
+
+isMethodWithBreakpoints
+    ^ true
+
+    "Created: / 01-08-2012 / 17:26:59 / cg"
+! !
+
+!MethodWithBreakpoints class methodsFor:'documentation'!
+
+version
+    ^ '$Header: /cvs/stx/stx/libbasic/MethodWithBreakpoints.st,v 1.1 2012/08/02 12:22:22 cg Exp $'
+!
+
+version_CVS
+    ^ '§Header: /cvs/stx/stx/libbasic/MethodWithBreakpoints.st,v 1.1 2012/08/02 12:22:22 cg Exp §'
+! !
\ No newline at end of file