MethodWithBreakpoints.st
changeset 14273 feb20a9d7b13
child 15505 4c46f8a71f52
child 18011 deb0c3355881
equal deleted inserted replaced
14272:77d6e0439a82 14273:feb20a9d7b13
       
     1 "
       
     2  COPYRIGHT (c) 2012 by Claus Gittinger
       
     3               All Rights Reserved
       
     4 
       
     5  This software is furnished under a license and may be used
       
     6  only in accordance with the terms of that license and with the
       
     7  inclusion of the above copyright notice.   This software may not
       
     8  be provided or otherwise made available to, or used by, any
       
     9  other person.  No title to or ownership of the software is
       
    10  hereby transferred.
       
    11 "
       
    12 "{ Package: 'stx:libbasic' }"
       
    13 
       
    14 Method variableSubclass:#MethodWithBreakpoints
       
    15 	instanceVariableNames:'originalMethod'
       
    16 	classVariableNames:''
       
    17 	poolDictionaries:''
       
    18 	category:'Kernel-Methods'
       
    19 !
       
    20 
       
    21 !MethodWithBreakpoints class methodsFor:'documentation'!
       
    22 
       
    23 copyright
       
    24 "
       
    25  COPYRIGHT (c) 2012 by Claus Gittinger
       
    26               All Rights Reserved
       
    27 
       
    28  This software is furnished under a license and may be used
       
    29  only in accordance with the terms of that license and with the
       
    30  inclusion of the above copyright notice.   This software may not
       
    31  be provided or otherwise made available to, or used by, any
       
    32  other person.  No title to or ownership of the software is
       
    33  hereby transferred.
       
    34 "
       
    35 !
       
    36 
       
    37 documentation
       
    38 "
       
    39     support for line-Breakpoints
       
    40 
       
    41     instances of me are created when line-breakpoints are placed.
       
    42     The only function I serve is to provide the originalMethod information,
       
    43     and an easy way to check for having a breakpoint (is breakpointed).
       
    44 
       
    45     [author:]
       
    46         Claus Gittinger
       
    47 
       
    48     [see also:]
       
    49         Tools::BreakpointService
       
    50 "
       
    51 ! !
       
    52 
       
    53 !MethodWithBreakpoints methodsFor:'accessing'!
       
    54 
       
    55 originalMethod
       
    56     ^ originalMethod
       
    57 !
       
    58 
       
    59 originalMethod:something
       
    60     originalMethod := something.
       
    61 ! !
       
    62 
       
    63 !MethodWithBreakpoints methodsFor:'queries'!
       
    64 
       
    65 isMethodWithBreakpoints
       
    66     ^ true
       
    67 
       
    68     "Created: / 01-08-2012 / 17:26:59 / cg"
       
    69 ! !
       
    70 
       
    71 !MethodWithBreakpoints class methodsFor:'documentation'!
       
    72 
       
    73 version
       
    74     ^ '$Header: /cvs/stx/stx/libbasic/MethodWithBreakpoints.st,v 1.1 2012-08-02 12:22:22 cg Exp $'
       
    75 !
       
    76 
       
    77 version_CVS
       
    78     ^ '$Header: /cvs/stx/stx/libbasic/MethodWithBreakpoints.st,v 1.1 2012-08-02 12:22:22 cg Exp $'
       
    79 ! !