eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'JavaScriptFunctionWithBreakpoints':

Home

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

Class: JavaScriptFunctionWithBreakpoints


Inheritance:

   Object
   |
   +--ExecutableFunction
      |
      +--CompiledCode
         |
         +--Method
            |
            +--JavaScriptFunction
               |
               +--JavaScriptFunctionWithBreakpoints

Package:
stx:libjavascript
Category:
Languages-JavaScript-Compiling & Parsing
Version:
rev: 1.5 date: 2015/01/29 23:49:00
user: cg
file: JavaScriptFunctionWithBreakpoints.st directory: libjavascript
module: stx stc-classLibrary: libjavascript
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).

Caveat:
    very stupid - had to repead the definition from MethodWithBreakpoints.
    Probably it is a stupid idea, to implement breakpointed methods this way (by inheritance),
    instead of having some attribute in the method (such as in an annotation).
    May someone change that?...


Related information:

    Tools::BreakpointService

Instance protocol:

accessing
o  originalMethod

o  originalMethod: something

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

misc
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  isMethodWithBreakpoints
(comment from inherited method)
only redefined in MethodWithBreakpoints



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Wed, 24 Apr 2024 04:24:42 GMT