eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Tools::BreakpointBrowser':

Home

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

Class: BreakpointBrowser (in Tools)


Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--Tools::BreakpointBrowser

Package:
stx:libtool
Category:
Interface-Debugger
Version:
rev: 1.74 date: 2024/03/27 08:43:33
user: stefan
file: Tools__BreakpointBrowser.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


tool to list breakpoints (breakPoint/halt/assert)

copyright

COPYRIGHT (c) 2008 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:

defaults
o  defaultIcon
(comment from inherited method)
default is: no icon (should be redefined by concrete class if an icon is wanted).

initialization
o  defaultListOfMessagesAndTypes
the set of messages which are shown;
you can add your own one's with a #other categorization

o  messagesAndTypes
the spec of selectors to search for coded breakpoints

interface specs
o  windowSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

Usage example(s):

     UIPainter new openOnClass:Tools::BreakpointBrowser andSelector:#windowSpec
     Tools::BreakpointBrowser new openInterface:#windowSpec
     Tools::BreakpointBrowser open

menu specs
o  itemMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

Usage example(s):

     MenuEditor new openOnClass:Tools::BreakpointBrowser andSelector:#itemMenu
     (Menu new fromLiteralArrayEncoding:(Tools::BreakpointBrowser itemMenu)) startUp

o  mainMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

Usage example(s):

     MenuEditor new openOnClass:Tools::BreakpointBrowser andSelector:#mainMenu
     (Menu new fromLiteralArrayEncoding:(Tools::BreakpointBrowser mainMenu)) startUp

o  toolBarMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

Usage example(s):

     MenuEditor new openOnClass:Tools::BreakpointBrowser andSelector:#toolBarMenu
     (Menu new fromLiteralArrayEncoding:(Tools::BreakpointBrowser toolBarMenu)) startUp

tableColumns specs
o  tableColumns
This resource specification was automatically generated
by the DataSetBuilder of ST/X.

Usage example(s):

     DataSetBuilder new openOnClass:Tools::BreakpointBrowser andSelector:#tableColumns

o  tableColumns_v1
This resource specification was automatically generated
by the DataSetBuilder of ST/X.

o  tableColumns_v2
This resource specification was automatically generated
by the DataSetBuilder of ST/X.


Instance protocol:

accessing
o  aboutThisApplicationText
(comment from inherited method)
text for an about box for this application.

o  breakpointListEntryAtIndex: idx

o  messagesAndTypes
the spec of selectors to search for coded breakpoints

o  selectedBreakpointListEntry

o  selectionIndex

o  shownCopyOfBreakpointList

o  updatingLabelShown

aspects
o  enableAssertions

o  enableAssertions: aBoolean

o  enableHalts

o  enableHalts: aBoolean

o  hasSelectionHolder

o  infoHolder

o  selectedItemIsEnabledLineBreak

o  selectedItemIsIgnoredHalt

o  selectionIndexHolder

o  showAssertions

o  showAssertions: aBoolean

o  showAssertionsInTests

o  showAssertionsInTests: aBoolean

o  showCodeBreakpoints

o  showCodeBreakpoints: aBoolean

o  showDebugCode

o  showDebugCode: aBoolean

o  showHalts

o  showHalts: aBoolean

o  showLineBreakpoints

o  showLineBreakpoints: aBoolean

o  showMethodBreakpoints

o  showMethodBreakpoints: aBoolean

o  showOthers

o  showOthers: aBoolean

o  showTracepoints

o  showTracepoints: aBoolean

o  showWhichHaltsHolder

change & update
o  applyFilter
filter those items which are to be shown from the complete list

o  delayedUpdate: something with: aParameter from: changedObject
(comment from inherited method)
support for delayed updates -
subclasses which invoke #enqueueDelayedUpdate:with:from: (from #update:with:from:)
must also redefine this method, and perform the actual update there.

o  messageSelectors

o  update: something with: aParameter from: changedObject
(comment from inherited method)
dependent is notified of some change -
Default is to try update:with:

o  updateBreakpointList

o  updateCode

o  updateEntry: entry
after a change, update the list entry.
(or remove it if required)

o  updateForClass: aClass selector: selector

o  updateList
cg: mhmh why is this needed ????

o  updateShownBreakpointList

o  withBreakpointListEntriesFor: mthd class: cls selector: sel messages: messages messageSelectors: messageSelectors rememberingCodeBreakpointTypesIn: newShowCodeBreakpointsFor do: aBlock
used to be (mthd sends:bpSel);

initialization & release
o  codeViewClass
the type of codeview to use

o  initialize
(comment from inherited method)
nothing done here;
but can be redefined in concrete applications

o  postBuildCodeView: aView

o  postOpenWith: aBuilder
(comment from inherited method)
this is sent after the application's main window is opened.
Can be redefined in subclasses for actions after opening the view.

o  release
(comment from inherited method)
remove all references to objects that may refer to self.
Subclasses may redefine this method but should do a 'super release'.

menu actions-item
o  browseItem

o  reenableHalt

o  removeItem

menus-dynamic
o  codeBreakpointMenu
Modified (format): / 09-09-2012 / 13:11:14 / cg

o  enabledCodeBreakpointMenu

tests
o  aMethodWith_assert
only here for demonstration purposes - should be found in the list

o  aMethodWith_assert2
only here for demonstration purposes - should be found in the breakpoint browser''s list

o  aMethodWith_breakPoint
only here for demonstration purposes - should be found in the breakpoint browser''s list

o  aMethodWith_breakPoint2
only here for demonstration purposes - should be found in the breakpoint browser''s list

o  aMethodWith_debugCode
only here for demonstration purposes - should be found in the breakpoint browser''s list

o  aMethodWith_halt
only here for demonstration purposes - should be found in the breakpoint browser''s list

Usage example(s):

after the first halt, in the debugger, ignore this halt for some time and see what
     the breakpoint browser shows...

     10 timesRepeat:[
        self new aMethodWith_halt
     ].

o  aMethodWith_halt2
only here for demonstration purposes - should be found in the breakpoint browser''s list

o  aMethodWith_todo
only here for demonstration purposes - should be found in the breakpoint browser''s list

user actions
o  browseSelectedItem

o  disableLineBreak

o  hideAllTypes

o  itemDoubleClicked: itemIndex

o  openClassFilterDialog
cancel

o  openDocumentation
Called when <F1> is pressed

o  openPackageFilterDialog
cancel

o  resort
temporary hack - should make a copy of the real list

o  setShowAllTypesTo: aBoolean

o  showAllTypes

o  sortBy: instanceName

o  sortBy: instanceName withReverse: aBoolean
same column like before - change sort order ifReverse is true

o  toggleAllShownTypes


Private classes:

    BreakpointListEntry
    BreakpointListEntryForLineBreak
    MessageArgumentExtractor


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 27 Jul 2024 08:50:56 GMT