eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Breakpoint':

Home

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

Class: Breakpoint


Inheritance:

   Object
   |
   +--Breakpoint

Package:
stx:libcomp
Category:
System-Compiler-Debugging
Version:
rev: 1.36 date: 2017/10/21 13:25:10
user: cg
file: Breakpoint.st directory: libcomp
module: stx stc-classLibrary: libcomp

Description:


statement breakpoint support.
Instances of me are placed into a (bytecode-) compiled method's
literal array and are sent messages dynamically when a statement
with a breakpoint is about to be executed.


Class protocol:

instance creation
o  new
return an initialized instance

queries
o  breakpointDescriptionClass
redefinable in subclasses

utilities
o  disableAllBreakpoints


Instance protocol:

accessing
o  description

o  description: aBreakpointDescription

o  icon
( an extension from the stx:libtool package )

o  isReached

o  isReached: aBoolean

o  line
the lineNr

o  line: lineArg

o  method: something

o  position

o  position: anInteger
Modified (format): / 02-08-2012 / 09:26:03 / cg

o  position: positionArg line: lineArg

initialization
o  initialize
Invoked when a new instance is created.
usage example(s):
super initialize.   -- commented since inherited method does nothing

printing & storing
o  printBreakpointNrInDebuggerOn: aStream
to be redefined for concrete debuggers

o  printOn: aStream
append a printed representation of the receiver to the argument, aStream

support
o  beInvisible
make this breakpoint hidden (in gutter)

o  beTracepoint
make this breakpoint a tracepoint

o  break
invoked by the breakPoint's code (see BreakPointNode)

o  disable
disable this breakpoint

o  toggle
toggle this breakpoint

o  toggleTracing
toggle this breakpoint

testing
o  isEnabled
Bad coding here, state should be full object

o  isTracepoint

o  isVisible



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Tue, 20 Nov 2018 15:42:00 GMT