|
Class: MethodWithBreakpoints
Object
|
+--ExecutableFunction
|
+--CompiledCode
|
+--Method
|
+--MethodWithBreakpoints
- Package:
- stx:libbasic
- Category:
- Kernel-Methods
- Version:
- rev:
1.17
date: 2023/09/08 14:38:43
- user: stefan
- file: MethodWithBreakpoints.st directory: libbasic
- module: stx stc-classLibrary: libbasic
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).
copyrightCOPYRIGHT (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.
class initialization
-
initialize
-
(comment from inherited method)
create signals
instance creation
-
new
-
(comment from inherited method)
create a new method with an indirect literal array
stored in the first and only indexed instvar
-
new: numLiterals
-
(comment from inherited method)
create a new method with numberOfLiterals.
Implementation note:
If (self size) == 1, the only literal is an indirect literal
containing an array of literals. Otherwise the literals
are stored in self.
misc
-
removeAllBreakpoints
-
remove all statement breakpoints on any method in the whole system
queries
-
allBreakpointedMethods
-
accessing
-
originalMethod
-
return the original method; the one without breakpoints
-
originalMethod: aMethod
-
Modified (format): / 07-07-2021 / 09:33:19 / Stefan_Vogel
-
originalMethodIfWrapped
-
return the original method; the one without breakpoints
enumeration
-
breakpointsDo: aBlock
-
(comment from inherited method)
Evaluate `aBlock` for every breakpoint installed in this method
misc
-
disableAllBreakpoints
-
disable all of my breakpoints
-
disableBreakpointInLine: lineNr
-
disable one of my breakpoints
-
restoreOriginalMethod
-
remove myself - i.e. replace by the original method
(i.e. the one without line breakpoints)
queries
-
hasEnabledBreakpoints
-
true if any of my breakpoints is actually enabled
-
hasEnabledTracepoints
-
true if any of my tracepoints is actually enabled
testing
-
isMethodWithBreakpoints
-
(comment from inherited method)
only redefined in MethodWithBreakpoints
|