eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'MethodWithBreakpoints':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: MethodWithBreakpoints


Inheritance:

   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

Description:


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).

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.

Class protocol:

class initialization
o  initialize
(comment from inherited method)
create signals

instance creation
o  new
(comment from inherited method)
create a new method with an indirect literal array
stored in the first and only indexed instvar

o  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
o  removeAllBreakpoints
remove all statement breakpoints on any method in the whole system

queries
o  allBreakpointedMethods


Instance protocol:

accessing
o  originalMethod
return the original method; the one without breakpoints

o  originalMethod: aMethod
Modified (format): / 07-07-2021 / 09:33:19 / Stefan_Vogel

o  originalMethodIfWrapped
return the original method; the one without breakpoints

enumeration
o  breakpointsDo: aBlock
(comment from inherited method)
Evaluate `aBlock` for every breakpoint installed in this method

misc
o  disableAllBreakpoints
disable all of my breakpoints

o  disableBreakpointInLine: lineNr
disable one of my breakpoints

o  restoreOriginalMethod
remove myself - i.e. replace by the original method
(i.e. the one without line breakpoints)

queries
o  hasEnabledBreakpoints
true if any of my breakpoints is actually enabled

o  hasEnabledTracepoints
true if any of my tracepoints is actually enabled

testing
o  isMethodWithBreakpoints
(comment from inherited method)
only redefined in MethodWithBreakpoints



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 07:22:04 GMT