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.13 date: 2019/02/19 14:30:37
user: cg
file: MethodWithBreakpoints.st directory: libbasic
module: stx stc-classLibrary: libbasic
Author:
Claus Gittinger

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


Related information:

    Tools::BreakpointService

Class protocol:

class initialization
o  initialize

instance creation
o  new

o  new: numLiterals

misc
o  removeAllBreakpoints
remove all statement breakpoints on any method in the whole system

queries
o  allBreakpointedMethods


Instance protocol:

accessing
o  originalMethod

o  originalMethod: something

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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 28 Mar 2024 23:07:20 GMT