eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ContextInspectorView':

Home

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

Class: ContextInspectorView


Inheritance:

   Object
   |
   +--GraphicsMedium
      |
      +--DisplaySurface
         |
         +--SimpleView
            |
            +--InspectorView
               |
               +--ContextInspectorView

Package:
stx:libtool
Category:
Interface-Inspector
Version:
rev: 1.109 date: 2019/07/31 15:39:25
user: cg
file: ContextInspectorView.st directory: libtool
module: stx stc-classLibrary: libtool
Author:
Claus Gittinger

Description:


a modified Inspector for Contexts (used in the Debugger)
TODO:
    when expressions are evaluated in myself, the inst-var
    names are not known by the expression evaluator.
    This has to be fixed 
    (actual work is to be done in the Parser to allow passing of a context ...)


Related information:

    Context
    DebugView

Instance protocol:

accessing
o  inspect: aContext
set the context to be inspected

o  namesOfBlockContext: aContext

o  release
release inspected object

initialization
o  initialize
(comment from inherited method)
v autoHideScrollBars:true.

menu
o  fieldMenu
return a popUpMenu for the left (fields) pane

presentation
o  listEntryForName: nameString value: value
generates the fieldListEntry (icon + valueString).
Special contexts may mix in text as separators between scopes;
these are left as is

private
o  defaultLabel
ContextInspectorView openOn:thisContext sender

o  displayStringForValue: someValue
return the values displayString

o  fieldList
generate a list of names (& pseudo names) to be shown on the left side

o  hasSelfEntry

o  setDoitActionIn: aWorkspace for: aContext

o  stringWithAllLocalValues
when clicked on '-all local vars'

o  stringWithAllNames: names andValues: values
helper for '-all local vars' and '-all workspace vars'

o  stringWithAllWorkspaceValues
when clicked on '-all workspace vars'

o  valueAtIndex: varIdx
helper - return the value of the selected entry

o  valueAtLine: lineNr
helper - return the value of the selected entry

o  valueForCommentLine: line
a hack to guide beginners

o  valueForSpecialLine: line
(comment from inherited method)
actionForAll:[Debugger enterException:ex]

user actions
o  hideTemporaries
do not show contexts temporaries

o  showTemporaries
show contexts temporaries

o  valueAtLine: lineNr put: newValue
helper - return the value of the selected entry



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 25 Apr 2024 01:10:19 GMT