eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'InstrumentationInfo':

Home

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

Class: InstrumentationInfo


Inheritance:

   Object
   |
   +--InstrumentationInfo
      |
      +--InstrumentingCompiler::MethodInvocationInfo
      |
      +--InstrumentingCompiler::StatementExecutionInfo

Package:
stx:libcomp
Category:
System-Compiler-Instrumentation
Version:
rev: 1.8 date: 2021/01/20 10:32:09
user: cg
file: InstrumentationInfo.st directory: libcomp
module: stx stc-classLibrary: libcomp

Description:


(sub)instances of me are placed by the instrumenting compiler into the literal
array of instrumented methods. 
The InstrumentingCompiler generates code to update these, as code is executed.

copyright

COPYRIGHT (c) 2010 by eXept Software AG 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:

cleanup
o  allInfosDo: aBlock

o  allInfosOfClass: aClass do: aBlock

o  allInfosOfMethod: aMethod do: aBlock

o  cleanAllInfoFor: aClass withChange: withChangeNotifications

o  cleanAllInfoWithChange: withChange
InstrumentingCompiler::InstrumentationInfo cleanAllInfo
InstrumentingCompiler::MethodInvocationInfo cleanAllInfo


Instance protocol:

accessing
o  currentInstrumentationContext

o  owningMethod: something

cleanup
o  cleanInfoWithChange: withChange

** This method must be redefined in concrete classes (subclassResponsibility) **

instrumentation probe calls
o  entry: callingContext
called on entry from instrumented code

private
o  changeClassToAlreadyEntered
nothing done here

o  changeClassToCoverageAndAlreadyEntered
nothing done here

testing
o  isBlockExecutionInfo

o  isMethodInvocationInfo

o  isSpecialInstrumentationInfoLiteral
return true, if the receiver is a special instrumentation info
object as placed into the literal array of instrumented methods

o  isStatementExecutionInfo

o  isVariableAccessExecutionInfo



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