Tools__BreakpointBrowser.st
author Claus Gittinger <cg@exept.de>
Thu, 22 Oct 2009 15:58:02 +0200
changeset 9045 a43cc56e8dca
parent 8859 ea979fe04ab7
child 9077 c936c0fc8ef4
permissions -rw-r--r--
changed: #mainMenu
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8234
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
     1
"
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
     2
 COPYRIGHT (c) 2008 by eXept Software AG
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
     3
	      All Rights Reserved
8234
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
     4
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
     5
 This software is furnished under a license and may be used
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
     6
 only in accordance with the terms of that license and with the
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
     8
 be provided or otherwise made available to, or used by, any
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
     9
 other person.  No title to or ownership of the software is
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    10
 hereby transferred.
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    11
"
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libtool' }"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
"{ NameSpace: Tools }"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
ApplicationModel subclass:#BreakpointBrowser
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	instanceVariableNames:'updatingLabelShown breakpointList shownCopyOfBreakpointList
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
		selectionIndexHolder currentSortColumn currentSortIsReverse
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
		showHalts showAssertions showCodeBreakpoints
8767
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
    20
		showCodeBreakpointsFor showMethodBreakpoints codeView infoHolder
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
    21
		updateProcess'
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
	classVariableNames:''
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
	poolDictionaries:''
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
	category:'Interface-Smalltalk-Breakpoints'
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
Object subclass:#BreakpointListEntry
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
	instanceVariableNames:'type arg className selector lineNumber info enabled'
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
	classVariableNames:''
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
	poolDictionaries:''
8302
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
    31
	privateIn:BreakpointBrowser
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
RBProgramNodeVisitor subclass:#MessageArgumentExtractor
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
	instanceVariableNames:'callBack selectorToSearch'
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
	classVariableNames:''
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
	poolDictionaries:''
8302
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
    38
	privateIn:BreakpointBrowser
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
!BreakpointBrowser class methodsFor:'documentation'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
8234
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    43
copyright
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    44
"
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    45
 COPYRIGHT (c) 2008 by eXept Software AG
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
    46
	      All Rights Reserved
8234
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    47
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    48
 This software is furnished under a license and may be used
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    49
 only in accordance with the terms of that license and with the
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    50
 inclusion of the above copyright notice.   This software may not
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    51
 be provided or otherwise made available to, or used by, any
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    52
 other person.  No title to or ownership of the software is
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    53
 hereby transferred.
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    54
"
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    55
!
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    56
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
documentation
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
"
8234
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    59
    tool to list breakpoints (breakPoint/halt/assert)
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
    [author:]
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
    62
	cg (cg@FUSI)
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
!BreakpointBrowser class methodsFor:'interface specs'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
windowSpec
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
    "This resource specification was automatically generated
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
     by the UIPainter of ST/X."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
    "Do not manually edit this!! If it is corrupted,
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
     the UIPainter may not be able to read the specification."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    75
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    76
     UIPainter new openOnClass:Tools::BreakpointBrowser andSelector:#windowSpec
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
     Tools::BreakpointBrowser new openInterface:#windowSpec
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
     Tools::BreakpointBrowser open
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    79
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    80
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    81
    <resource: #canvas>
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    82
8357
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
    83
    ^ 
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    84
     #(FullSpec
8357
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
    85
        name: windowSpec
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
    86
        window: 
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    87
       (WindowSpec
8357
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
    88
          label: 'Breakpoint Browser'
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
    89
          name: 'Breakpoint Browser'
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
    90
          min: (Point 10 10)
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
    91
          max: (Point 1024 768)
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
    92
          bounds: (Rectangle 0 0 680 691)
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
    93
          menu: mainMenu
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
    94
        )
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
    95
        component: 
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    96
       (SpecCollection
8357
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
    97
          collection: (
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
    98
           (MenuPanelSpec
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
    99
              name: 'ToolBar1'
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   100
              layout: (LayoutFrame 0 0.0 0 0 0 1.0 40 0)
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   101
              menu: toolBarMenu
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   102
              textDefault: true
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   103
            )
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   104
           (VariableVerticalPanelSpec
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   105
              name: 'VariableVerticalPanel1'
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   106
              layout: (LayoutFrame 0 0 40 0 0 1 0 1)
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   107
              snapMode: both
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   108
              component: 
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   109
             (SpecCollection
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   110
                collection: (
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   111
                 (DataSetSpec
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   112
                    name: 'Table'
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   113
                    model: selectionIndexHolder
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   114
                    menu: itemMenu
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   115
                    hasHorizontalScrollBar: true
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   116
                    hasVerticalScrollBar: true
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   117
                    dataList: shownCopyOfBreakpointList
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   118
                    doubleClickSelector: itemDoubleClicked:
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   119
                    columnHolder: tableColumns
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   120
                  )
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   121
                 (TextEditorSpec
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   122
                    name: 'TextEditor1'
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   123
                    hasHorizontalScrollBar: true
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   124
                    hasVerticalScrollBar: true
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   125
                    hasKeyboardFocusInitially: false
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   126
                    viewClassName: 'CodeView'
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   127
                    postBuildCallback: postBuildCodeView:
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   128
                  )
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   129
                 )
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   130
               
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   131
              )
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   132
              handles: (Any 0.5 1.0)
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   133
            )
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   134
           (LabelSpec
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   135
              label: 'Updating - Please Wait...'
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   136
              name: 'Label1'
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   137
              layout: (LayoutFrame 0 0 40 0 0 1 0 1)
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   138
              visibilityChannel: updatingLabelShown
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   139
              backgroundColor: (Color 100.0 49.999237048905 49.999237048905)
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   140
              translateLabel: true
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   141
            )
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   142
           (ViewSpec
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   143
              name: 'InfoBox'
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   144
              layout: (LayoutFrame 0 0 -30 1 0 1 0 1)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   145
              visibilityChannel: updatingLabelShown
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   146
              component: 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   147
             (SpecCollection
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   148
                collection: (
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   149
                 (LabelSpec
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   150
                    label: 'Label'
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   151
                    name: 'Label2'
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   152
                    layout: (LayoutFrame 2 0 2 0 680 0 30 0)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   153
                    level: -1
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   154
                    translateLabel: true
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   155
                    labelChannel: infoHolder
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   156
                    adjust: left
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   157
                  )
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   158
                 )
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   159
               
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   160
              )
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   161
            )
8357
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   162
           )
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   163
         
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   164
        )
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   165
      )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   166
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   167
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   168
!BreakpointBrowser class methodsFor:'menu specs'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   169
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   170
itemMenu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   171
    "This resource specification was automatically generated
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   172
     by the MenuEditor of ST/X."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   173
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   174
    "Do not manually edit this!! If it is corrupted,
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   175
     the MenuEditor may not be able to read the specification."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   176
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   177
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   178
     MenuEditor new openOnClass:Tools::BreakpointBrowser andSelector:#itemMenu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   179
     (Menu new fromLiteralArrayEncoding:(Tools::BreakpointBrowser itemMenu)) startUp
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   180
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   181
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   182
    <resource: #menu>
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   183
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   184
    ^
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   185
     #(Menu
8362
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   186
        (
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   187
         (MenuItem
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   188
            label: 'Browse'
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   189
            itemValue: browseSelectedItem
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   190
            translateLabel: true
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   191
          )
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   192
         )
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   193
        nil
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   194
        nil
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   195
      )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   196
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   197
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   198
mainMenu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   199
    "This resource specification was automatically generated
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   200
     by the MenuEditor of ST/X."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   201
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   202
    "Do not manually edit this!! If it is corrupted,
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   203
     the MenuEditor may not be able to read the specification."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   204
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   205
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   206
     MenuEditor new openOnClass:Tools::BreakpointBrowser andSelector:#mainMenu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   207
     (Menu new fromLiteralArrayEncoding:(Tools::BreakpointBrowser mainMenu)) startUp
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   208
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   209
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   210
    <resource: #menu>
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   211
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
   212
    ^ 
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   213
     #(Menu
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   214
        (
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   215
         (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   216
            label: 'File'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   217
            translateLabel: true
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
   218
            submenu: 
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   219
           (Menu
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   220
              (
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   221
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   222
                  label: 'Exit'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   223
                  itemValue: closeRequest
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   224
                  translateLabel: true
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   225
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   226
               )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   227
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   228
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   229
            )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   230
          )
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
   231
         (MenuItem
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   232
            label: 'Selection'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   233
            translateLabel: true
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
   234
            submenu: 
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   235
           (Menu
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   236
              (
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   237
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   238
                  label: 'Browse'
8362
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   239
                  itemValue: browseSelectedItem
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   240
                  translateLabel: true
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   241
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   242
               )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   243
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   244
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   245
            )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   246
          )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   247
         (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   248
            label: 'View'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   249
            translateLabel: true
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
   250
            submenu: 
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   251
           (Menu
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   252
              (
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   253
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   254
                  label: 'Update List'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   255
                  itemValue: updateList
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   256
                  translateLabel: true
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   257
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   258
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   259
                  label: '-'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   260
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   261
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   262
                  label: 'Assertions'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   263
                  itemValue: showAssertions:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   264
                  translateLabel: true
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   265
                  hideMenuOnActivated: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   266
                  indication: showAssertions
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   267
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   268
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   269
                  label: 'Halts'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   270
                  itemValue: showHalts:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   271
                  translateLabel: true
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   272
                  hideMenuOnActivated: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   273
                  indication: showHalts
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   274
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   275
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   276
                  label: '-'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   277
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   278
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   279
                  label: 'Code Breakpoints'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   280
                  itemValue: showCodeBreakpoints:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   281
                  translateLabel: true
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   282
                  hideMenuOnActivated: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   283
                  indication: showCodeBreakpoints
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   284
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   285
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   286
                  enabled: showCodeBreakpoints
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   287
                  label: ' '
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   288
                  translateLabel: true
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   289
                  submenuChannel: codeBreakpointMenu
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   290
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   291
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   292
                  label: '-'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   293
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   294
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   295
                  label: 'Method Breakpoints'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   296
                  itemValue: showMethodBreakpoints:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   297
                  translateLabel: true
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   298
                  hideMenuOnActivated: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   299
                  indication: showMethodBreakpoints
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   300
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   301
               )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   302
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   303
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   304
            )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   305
          )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   306
         (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   307
            label: 'Enable'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   308
            translateLabel: true
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
   309
            submenu: 
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   310
           (Menu
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   311
              (
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   312
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   313
                  label: 'Assertions'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   314
                  itemValue: enableAssertions:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   315
                  translateLabel: true
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
   316
                  hideMenuOnActivated: false
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   317
                  indication: enableAssertions
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   318
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   319
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   320
                  label: 'Halts'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   321
                  itemValue: enableHalts:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   322
                  translateLabel: true
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
   323
                  hideMenuOnActivated: false
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   324
                  indication: enableHalts
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   325
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   326
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   327
                  label: '-'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   328
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   329
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   330
                  label: 'Code Breakpoints'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   331
                  translateLabel: true
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   332
                  submenuChannel: enabledCodeBreakpointMenu
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   333
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   334
               )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   335
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   336
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   337
            )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   338
          )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   339
         (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   340
            label: 'Help'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   341
            translateLabel: true
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   342
            startGroup: right
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
   343
            submenu: 
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   344
           (Menu
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   345
              (
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   346
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   347
                  label: 'Documentation'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   348
                  itemValue: openDocumentation
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   349
                  translateLabel: true
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   350
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   351
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   352
                  label: '-'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   353
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   354
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   355
                  label: 'About this Application...'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   356
                  itemValue: openAboutThisApplication
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   357
                  translateLabel: true
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   358
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   359
               )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   360
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   361
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   362
            )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   363
          )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   364
         )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   365
        nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   366
        nil
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   367
      )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   368
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   369
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   370
toolBarMenu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   371
    "This resource specification was automatically generated
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   372
     by the MenuEditor of ST/X."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   373
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   374
    "Do not manually edit this!! If it is corrupted,
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   375
     the MenuEditor may not be able to read the specification."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   376
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   377
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   378
     MenuEditor new openOnClass:Tools::BreakpointBrowser andSelector:#toolBarMenu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   379
     (Menu new fromLiteralArrayEncoding:(Tools::BreakpointBrowser toolBarMenu)) startUp
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   380
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   381
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   382
    <resource: #menu>
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   383
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   384
    ^
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   385
     #(Menu
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   386
	(
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   387
	 (MenuItem
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   388
	    label: 'Update List'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   389
	    itemValue: updateList
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   390
	    translateLabel: true
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   391
	    isButton: true
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   392
	    labelImage: (ResourceRetriever XPToolbarIconLibrary reloadIcon)
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   393
	  )
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   394
	 (MenuItem
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   395
	    label: '-'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   396
	  )
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   397
	 (MenuItem
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   398
	    enabled: hasSelectionHolder
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   399
	    label: 'Browse Selected Method'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   400
	    itemValue: browseSelectedItem
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   401
	    translateLabel: true
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   402
	    isButton: true
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   403
	    labelImage: (ResourceRetriever XPToolbarIconLibrary startNewSystemBrowserIcon)
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   404
	  )
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   405
	 )
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   406
	nil
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   407
	nil
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   408
      )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   409
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   410
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   411
!BreakpointBrowser class methodsFor:'tableColumns specs'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   412
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   413
tableColumns
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   414
    "This resource specification was automatically generated
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   415
     by the DataSetBuilder of ST/X."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   416
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   417
    "Do not manually edit this!! If it is corrupted,
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   418
     the DataSetBuilder may not be able to read the specification."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   419
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   420
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   421
     DataSetBuilder new openOnClass:Tools::BreakpointBrowser andSelector:#tableColumns
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   422
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   423
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   424
    <resource: #tableColumns>
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   425
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   426
    ^#(
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   427
      (DataSetColumnSpec
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   428
         label: 'Type'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   429
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   430
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   431
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   432
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   433
         labelActionArgument: 'type'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   434
         width: 70
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   435
         model: type
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   436
         canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   437
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   438
      (DataSetColumnSpec
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   439
         label: 'Arg'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   440
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   441
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   442
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   443
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   444
         labelActionArgument: 'type'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   445
         width: 50
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   446
         model: arg
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   447
         canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   448
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   449
      (DataSetColumnSpec
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   450
         label: 'Class'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   451
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   452
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   453
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   454
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   455
         labelActionArgument: 'className'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   456
         width: 150
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   457
         model: className
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   458
         canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   459
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   460
      (DataSetColumnSpec
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   461
         label: 'Method'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   462
         labelAlignment: left
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   463
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   464
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   465
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   466
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   467
         labelActionArgument: 'selector'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   468
         width: 200
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   469
         model: selector
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   470
         canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   471
       )
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   472
"/      (DataSetColumnSpec
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   473
"/         label: 'Line'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   474
"/         labelAlignment: left
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   475
"/         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   476
"/         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   477
"/         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   478
"/         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   479
"/         labelActionArgument: 'lineNumber'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   480
"/         width: 35
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   481
"/         model: lineNumber
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   482
"/         canSelect: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   483
"/       )
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   484
      (DataSetColumnSpec
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   485
         label: 'Info'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   486
         labelAlignment: left
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   487
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   488
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   489
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   490
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   491
         labelActionArgument: 'info'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   492
         model: info
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   493
         canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   494
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   495
      )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   496
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   497
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   498
tableColumns_v1
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   499
    "This resource specification was automatically generated
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   500
     by the DataSetBuilder of ST/X."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   501
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   502
    "Do not manually edit this!! If it is corrupted,
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   503
     the DataSetBuilder may not be able to read the specification."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   504
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   505
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   506
     DataSetBuilder new openOnClass:Tools::BreakpointBrowser andSelector:#tableColumns
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   507
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   508
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   509
    <resource: #tableColumns>
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   510
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   511
    ^#(
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   512
      (DataSetColumnSpec
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   513
	 label: 'Enabled'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   514
	 activeHelpKey: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   515
	 activeHelpKeyForLabel: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   516
	 labelButtonType: Button
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   517
	 width: 50
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   518
	 editorType: CheckToggle
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   519
	 rendererType: CheckToggle
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   520
	 model: enabled
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   521
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   522
      (DataSetColumnSpec
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   523
	 label: 'Type'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   524
	 activeHelpKey: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   525
	 activeHelpKeyForLabel: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   526
	 labelButtonType: Button
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   527
	 labelActionSelector: sortBy:
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   528
	 labelActionArgument: 'type'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   529
	 width: 60
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   530
	 model: type
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   531
	 canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   532
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   533
      (DataSetColumnSpec
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   534
	 label: 'Arg'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   535
	 activeHelpKey: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   536
	 activeHelpKeyForLabel: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   537
	 labelButtonType: Button
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   538
	 labelActionSelector: sortBy:
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   539
	 labelActionArgument: 'type'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   540
	 width: 50
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   541
	 model: arg
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   542
	 canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   543
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   544
      (DataSetColumnSpec
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   545
	 label: 'Class'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   546
	 activeHelpKey: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   547
	 activeHelpKeyForLabel: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   548
	 labelButtonType: Button
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   549
	 labelActionSelector: sortBy:
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   550
	 labelActionArgument: 'className'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   551
	 width: 150
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   552
	 model: className
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   553
	 canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   554
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   555
      (DataSetColumnSpec
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   556
	 label: 'Method'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   557
	 labelAlignment: left
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   558
	 activeHelpKey: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   559
	 activeHelpKeyForLabel: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   560
	 labelButtonType: Button
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   561
	 labelActionSelector: sortBy:
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   562
	 labelActionArgument: 'selector'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   563
	 width: 200
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   564
	 model: selector
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   565
	 canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   566
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   567
      (DataSetColumnSpec
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   568
	 label: 'Line'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   569
	 labelAlignment: left
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   570
	 activeHelpKey: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   571
	 activeHelpKeyForLabel: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   572
	 labelButtonType: Button
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   573
	 labelActionSelector: sortBy:
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   574
	 labelActionArgument: 'lineNumber'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   575
	 width: 35
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   576
	 model: lineNumber
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   577
	 canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   578
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   579
      (DataSetColumnSpec
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   580
	 label: 'Info'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   581
	 labelAlignment: left
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   582
	 activeHelpKey: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   583
	 activeHelpKeyForLabel: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   584
	 labelButtonType: Button
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   585
	 labelActionSelector: sortBy:
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   586
	 labelActionArgument: 'info'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   587
	 model: info
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   588
	 canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   589
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   590
      )
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   591
!
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   592
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   593
tableColumns_v2
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   594
    "This resource specification was automatically generated
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   595
     by the DataSetBuilder of ST/X."
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   596
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   597
    "Do not manually edit this!! If it is corrupted,
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   598
     the DataSetBuilder may not be able to read the specification."
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   599
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   600
    "
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   601
     DataSetBuilder new openOnClass:Tools::BreakpointBrowser andSelector:#tableColumns
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   602
    "
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   603
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   604
    <resource: #tableColumns>
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   605
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   606
    ^#(
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   607
      (DataSetColumnSpec
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   608
         label: 'Type'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   609
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   610
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   611
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   612
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   613
         labelActionArgument: 'type'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   614
         width: 70
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   615
         model: type
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   616
         canSelect: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   617
       )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   618
      (DataSetColumnSpec
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   619
         label: 'Arg'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   620
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   621
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   622
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   623
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   624
         labelActionArgument: 'type'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   625
         width: 50
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   626
         model: arg
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   627
         canSelect: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   628
       )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   629
      (DataSetColumnSpec
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   630
         label: 'Class'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   631
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   632
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   633
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   634
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   635
         labelActionArgument: 'className'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   636
         width: 150
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   637
         model: className
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   638
         canSelect: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   639
       )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   640
      (DataSetColumnSpec
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   641
         label: 'Method'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   642
         labelAlignment: left
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   643
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   644
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   645
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   646
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   647
         labelActionArgument: 'selector'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   648
         width: 200
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   649
         model: selector
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   650
         canSelect: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   651
       )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   652
      (DataSetColumnSpec
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   653
         label: 'Line'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   654
         labelAlignment: left
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   655
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   656
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   657
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   658
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   659
         labelActionArgument: 'lineNumber'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   660
         width: 35
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   661
         model: lineNumber
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   662
         canSelect: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   663
       )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   664
      (DataSetColumnSpec
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   665
         label: 'Info'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   666
         labelAlignment: left
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   667
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   668
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   669
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   670
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   671
         labelActionArgument: 'info'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   672
         model: info
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   673
         canSelect: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   674
       )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   675
      )
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   676
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   677
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   678
!BreakpointBrowser methodsFor:'accessing'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   679
8302
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   680
aboutThisApplicationText
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   681
    |msg|
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   682
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   683
    msg := super aboutThisApplicationText.
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   684
    msg := msg , '\\Written by Claus Gittinger (cg@exept.de).'.
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   685
    ^msg withCRs.
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   686
!
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   687
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   688
breakpointListEntryAtIndex:idx
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   689
    ^ shownCopyOfBreakpointList at:idx ifAbsent:nil
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   690
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   691
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   692
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   693
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   694
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   695
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   696
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   697
selectedBreakpointListEntry
8398
f90fc6048ed4 changed #selectedBreakpointListEntry
sr
parents: 8365
diff changeset
   698
    self selectionIndex isNil ifTrue:[^ nil].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   699
    ^ self breakpointListEntryAtIndex:(self selectionIndex).
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   700
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   701
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   702
selectionIndex
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   703
    ^ self selectionIndexHolder value
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   704
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   705
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   706
shownCopyOfBreakpointList
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   707
    shownCopyOfBreakpointList isNil ifTrue:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   708
	shownCopyOfBreakpointList := List new
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   709
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   710
    ^ shownCopyOfBreakpointList
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   711
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   712
    "Created: / 18-02-2007 / 12:53:01 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   713
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   714
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   715
updatingLabelShown
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   716
    updatingLabelShown isNil ifTrue:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   717
	updatingLabelShown := true asValue
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   718
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   719
    ^ updatingLabelShown
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   720
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   721
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   722
!BreakpointBrowser methodsFor:'aspects'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   723
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   724
enableAssertions
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   725
    ^ (Smalltalk at:#IgnoreAssertion ifAbsent:false) not
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   726
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   727
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   728
enableAssertions:aBoolean
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   729
    ^ Smalltalk at:#IgnoreAssertion put:aBoolean not
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   730
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   731
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   732
enableHalts
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   733
    ^ (Smalltalk at:#IgnoreHalt ifAbsent:false) not
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   734
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   735
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   736
enableHalts:aBoolean
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   737
    ^ Smalltalk at:#IgnoreHalt put:aBoolean not
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   738
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   739
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   740
hasSelectionHolder
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   741
    ^ BlockValue
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   742
	with:[:selIndex | selIndex notNil and:[selIndex ~~ 0]]
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   743
	argument:self selectionIndexHolder
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   744
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   745
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   746
infoHolder
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   747
    infoHolder isNil ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   748
        infoHolder := nil asValue.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   749
    ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   750
    ^ infoHolder
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   751
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   752
    "Created: / 22-10-2006 / 02:00:41 / cg"
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   753
!
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   754
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   755
selectionIndexHolder
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   756
    selectionIndexHolder isNil ifTrue:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   757
	selectionIndexHolder := nil asValue.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   758
	selectionIndexHolder onChangeSend:#updateCode to:self
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   759
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   760
    ^ selectionIndexHolder
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   761
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   762
    "Created: / 22-10-2006 / 02:00:41 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   763
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   764
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   765
showAssertions
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   766
    ^ showAssertions ? true
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   767
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   768
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   769
showAssertions:aBoolean
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   770
    showAssertions := aBoolean.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   771
    self updateShownBreakpointList
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   772
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   773
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   774
showCodeBreakpoints
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   775
    ^ showCodeBreakpoints ? true
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   776
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   777
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   778
showCodeBreakpoints:aBoolean
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   779
    showCodeBreakpoints := aBoolean.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   780
    self updateShownBreakpointList
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   781
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   782
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   783
showHalts
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   784
    ^ showHalts ? true
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   785
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   786
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   787
showHalts:aBoolean
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   788
    showHalts := aBoolean.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   789
    self updateShownBreakpointList
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   790
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   791
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   792
showMethodBreakpoints
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   793
    ^ showMethodBreakpoints ? true
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   794
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   795
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   796
showMethodBreakpoints:aBoolean
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   797
    showMethodBreakpoints := aBoolean.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   798
    self updateShownBreakpointList
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   799
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   800
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   801
!BreakpointBrowser methodsFor:'change & update'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   802
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   803
delayedUpdate:something with:aParameter from:changedObject
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   804
"/    changedObject == toDoList ifTrue:[
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   805
"/        self updateShownToDoList.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   806
"/        ^ self
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   807
"/    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   808
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   809
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   810
filter
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   811
    |newList|
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   812
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   813
    newList := breakpointList.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   814
    self showHalts ifFalse:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   815
	newList := newList reject:[:entry | entry isHalt].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   816
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   817
    self showCodeBreakpoints ifFalse:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   818
	newList := newList reject:[:entry | entry isCodeBreakpoint].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   819
    ] ifTrue:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   820
	newList := newList reject:[:entry |
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   821
				|flag|
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   822
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   823
				flag := (showCodeBreakpointsFor at:(entry arg ? '<nil>') ifAbsentPut:[true asValue]) value.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   824
				entry isCodeBreakpoint
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   825
				and:[ flag not ]
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   826
			   ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   827
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   828
    self showMethodBreakpoints ifFalse:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   829
	newList := newList reject:[:entry | entry isMethodBreakpoint].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   830
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   831
    self showAssertions ifFalse:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   832
	newList := newList reject:[:entry | entry isAssertion].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   833
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   834
    shownCopyOfBreakpointList contents:newList.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   835
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   836
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   837
messageSelectors
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   838
    ^ (self messagesAndTypes collect:[:each | each first]) asSet.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   839
!
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   840
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   841
messagesAndTypes
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   842
    ^ #(
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   843
        (#breakPoint:           #breakPoint)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   844
        (#breakPoint:info:      #breakPoint)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   845
        (#debuggingCodeFor:is:  #debugCode)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   846
        (#halt                  #halt)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   847
        (#halt:                 #halt)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   848
        (#assert:               #assertion)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   849
        (#assert:message:       #assertion)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   850
    ).
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   851
!
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   852
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   853
update:something with:aParameter from:changedObject
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   854
    changedObject == Smalltalk ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   855
        something == #methodInClass ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   856
            self updateForClass:(aParameter first) selector:(aParameter second).
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   857
            ^ self.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   858
        ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   859
        something == #methodInClassRemoved ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   860
            self updateForClass:(aParameter first) selector:(aParameter second).
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   861
            ^ self.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   862
        ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   863
    ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   864
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   865
    ^ super update:something with:aParameter from:changedObject
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   866
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   867
    "Created: / 18-02-2007 / 12:54:32 / cg"
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   868
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   869
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   870
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   871
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   872
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   873
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   874
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   875
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   876
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   877
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   878
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   879
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   880
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   881
updateBreakpointList
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   882
    |newShowCodeBreakpointsFor messages messageSelectors update |
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   883
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   884
    breakpointList removeAll.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   885
    newShowCodeBreakpointsFor := Dictionary new.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   886
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   887
    messages := self messagesAndTypes.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   888
    messageSelectors := self messageSelectors.
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   889
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   890
    update := [:cls :mthd :sel |
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   891
        self
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   892
            withBreakpointListEntriesFor:mthd class:cls selector:sel 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   893
            messages:messages
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   894
            messageSelectors:messageSelectors
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   895
            rememberingCodeBreakpointTypesIn:newShowCodeBreakpointsFor
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   896
            do:[:newEntry | breakpointList add:newEntry ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   897
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   898
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   899
    Smalltalk allClassesDo:[:cls |
8302
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   900
        cls selectorsAndMethodsDo:[:sel :mthd |
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   901
            update value:cls value:mthd value:sel
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   902
        ].
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   903
        cls class selectorsAndMethodsDo:[:sel :mthd |
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   904
            update value:cls class value:mthd value:sel
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   905
        ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   906
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   907
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   908
    showCodeBreakpointsFor := newShowCodeBreakpointsFor.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   909
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   910
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   911
updateCode
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   912
    |entry method class|
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   913
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   914
    entry := self selectedBreakpointListEntry.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   915
    entry isNil ifTrue:[
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   916
        codeView contents:nil.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   917
        ^ self
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   918
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   919
    method := entry method.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   920
    method isNil ifTrue:[
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   921
        codeView contents:'OOPS - no source found'.
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   922
    ] ifFalse:[
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   923
        codeView contents:(method source).
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   924
        entry lineNumber notNil ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   925
            codeView cursorLine:entry lineNumber col:1.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   926
            codeView selectLine:entry lineNumber.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   927
        ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   928
        codeView 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   929
            acceptAction:[:newText |
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   930
                class := method mclass ? (Smalltalk classNamed:entry className).
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   931
                class 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   932
                    compilerClass
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   933
                        compile:newText asString
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   934
                        forClass:class
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   935
                        inCategory:method category
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   936
                        notifying:codeView.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   937
            ]
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   938
    ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   939
!
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   940
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   941
updateEntry:entry
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   942
    "after a change, update the list entry.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   943
     (or remove it if required)"
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   944
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   945
    |mthd cls sel newShowCodeBreakpointsFor any|
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   946
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   947
    newShowCodeBreakpointsFor := Dictionary new.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   948
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   949
    breakpointList remove:entry ifAbsent:[].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   950
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   951
    mthd := entry method.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   952
    cls := Smalltalk classNamed:entry className.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   953
    sel := entry selector.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   954
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   955
    any := false.    
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   956
    self
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   957
        withBreakpointListEntriesFor:mthd class:cls selector:sel 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   958
        messages:(self messagesAndTypes)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   959
        messageSelectors:(self messageSelectors)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   960
        rememberingCodeBreakpointTypesIn:newShowCodeBreakpointsFor
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   961
        do:[:newEntry |
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   962
            any := true.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   963
            breakpointList add:newEntry. 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   964
        ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   965
!
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   966
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   967
updateForClass:aClass selector:selector
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   968
    |selectionIndexBefore mthd affectedEntries newShowCodeBreakpointsFor|
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   969
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   970
    selectionIndexBefore := selectionIndexHolder value.    
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   971
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   972
    affectedEntries := breakpointList select:[:entry |
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   973
                            entry selector = selector
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   974
                            and:[ entry className = aClass name ]
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   975
                       ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   976
    affectedEntries do:[:eachEntry |
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   977
        breakpointList remove:eachEntry ifAbsent:[].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   978
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   979
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   980
    mthd := aClass compiledMethodAt:selector.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   981
    mthd notNil ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   982
        newShowCodeBreakpointsFor := Dictionary new.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   983
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   984
        self
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   985
            withBreakpointListEntriesFor:mthd class:aClass selector:selector 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   986
            messages:(self messagesAndTypes)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   987
            messageSelectors:(self messageSelectors)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   988
            rememberingCodeBreakpointTypesIn:newShowCodeBreakpointsFor
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   989
            do:[:newEntry |
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   990
                breakpointList add:newEntry. 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   991
            ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   992
    ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   993
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   994
    self updateShownBreakpointList.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   995
    self selectionIndexHolder value:selectionIndexBefore.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   996
    self updateCode
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   997
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   998
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   999
updateShownBreakpointList
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1000
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1001
    self shownCopyOfBreakpointList contents:breakpointList.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1002
    self filter.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1003
    self resort.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1004
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1005
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1006
!
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1007
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1008
withBreakpointListEntriesFor:mthd class:cls selector:sel 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1009
    messages:messages
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1010
    messageSelectors:messageSelectors
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1011
    rememberingCodeBreakpointTypesIn:newShowCodeBreakpointsFor
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1012
    do:aBlock 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1013
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1014
    |entry type messagesSent|
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1015
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1016
    mthd isWrapped ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1017
        mthd isBreakpointed ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1018
            type := #trap
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1019
        ] ifFalse:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1020
            mthd isTraced ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1021
                type := #trace
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1022
            ] ifFalse:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1023
                type := #probe
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1024
            ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1025
        ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1026
        entry := BreakpointListEntry new.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1027
        entry
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1028
            type:#wrap
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1029
            arg:type
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1030
            className:cls name
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1031
            selector:sel
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1032
            lineNumber:nil
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1033
            info:nil
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1034
            enabled:true.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1035
        aBlock value:entry 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1036
    ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1037
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1038
    (mthd literalsDetect:[:lit |messageSelectors includes:lit] ifNone:nil) notNil ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1039
        messagesSent isNil ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1040
            messagesSent := mthd messagesSent.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1041
        ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1042
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1043
        messages pairsDo:[:bpSel :type|
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1044
            |tree extractor|
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1045
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1046
            "/ used to be (mthd sends:bpSel);
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1047
            "/ however, the sends requires an expensive parse of the methods source
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1048
            "/ to fetch all message selectors. This should be done only once,
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1049
            "/ and not for every selector we look for)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1050
            (messagesSent includesIdentical:bpSel) ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1051
                tree := mthd parseTree.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1052
                tree isNil ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1053
                    entry := BreakpointListEntry new.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1054
                    entry
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1055
                        type:type
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1056
                        arg:nil
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1057
                        className:cls name
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1058
                        selector:sel
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1059
                        lineNumber:nil
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1060
                        info:nil
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1061
                        enabled:true.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1062
                    aBlock value:entry 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1063
                ] ifFalse:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1064
                    extractor := MessageArgumentExtractor new.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1065
                    extractor selectorToSearch:bpSel.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1066
                    extractor callBack:[:lineNo :argument :infoMessage |
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1067
                        argument notNil ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1068
                            newShowCodeBreakpointsFor
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1069
                                at:argument
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1070
                                put:(showCodeBreakpointsFor
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1071
                                        at:argument
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1072
                                        ifAbsent:[true asValue])
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1073
                        ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1074
                        entry := BreakpointListEntry new.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1075
                        entry
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1076
                            type:type
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1077
                            arg:argument
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1078
                            className:cls name
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1079
                            selector:sel
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1080
                            lineNumber:lineNo
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1081
                            info:infoMessage
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1082
                            enabled:true.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1083
                        aBlock value:entry 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1084
                    ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1085
                    tree acceptVisitor:extractor.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1086
                ]
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1087
            ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1088
        ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1089
    ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1090
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1091
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1092
!BreakpointBrowser methodsFor:'initialization & release'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1093
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1094
initialize
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1095
    super initialize.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1096
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1097
    showCodeBreakpointsFor := Dictionary new.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1098
    breakpointList := List new.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1099
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1100
    currentSortColumn := #type.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1101
    currentSortIsReverse := false.
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1102
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1103
    Smalltalk addDependent:self.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1104
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1105
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1106
postBuildCodeView:aView
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1107
    codeView := aView
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1108
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1109
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1110
postOpenWith:aBuilder
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1111
    super postOpenWith:aBuilder.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1112
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1113
    self enqueueMessage:#updateList for:self arguments:#().
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1114
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1115
    "Modified: / 18-02-2007 / 12:55:57 / cg"
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1116
!
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1117
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1118
release
8767
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1119
    |p|
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1120
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1121
    (p := updateProcess) notNil ifTrue:[
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1122
        updateProcess := nil.
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1123
        p terminate
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1124
    ].
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1125
    Smalltalk removeDependent:self.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1126
    super release
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1127
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1128
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1129
!BreakpointBrowser methodsFor:'menu actions'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1130
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1131
openDocumentation
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1132
    HTMLDocumentView openFullOnDocumentationFile:'tools/misc/TOP.html#BREAKPOINTLIST'.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1133
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1134
    "/ add application-specific help files under the 'doc/online/<language>/help/appName'
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1135
    "/ directory, and open a viewer with:
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1136
    "/ HTMLDocumentView openFullOnDocumentationFile:'help/<MyApplication>/TOP.html'.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1137
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1138
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1139
!BreakpointBrowser methodsFor:'menu actions-item'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1140
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1141
browseItem
8362
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
  1142
    self withWaitCursorDo:[
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
  1143
        (self breakpointListEntryAtIndex:self selectionIndexHolder value) browse
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
  1144
    ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1145
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1146
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1147
removeItem
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1148
    breakpointList remove:(self selectedBreakpointListEntry)
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1149
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1150
    "Created: / 22-10-2006 / 10:45:52 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1151
    "Modified: / 18-02-2007 / 12:57:58 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1152
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1153
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1154
!BreakpointBrowser methodsFor:'menus-dynamic'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1155
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1156
codeBreakpointMenu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1157
    <resource: #programMenu >
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1158
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1159
    |breakpointArgs menu|
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1160
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1161
    breakpointArgs := Set new.
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1162
    breakpointList
8859
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1163
                        select:[:entry | entry arg notNil]
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1164
                        thenDo:[:entry | breakpointArgs add:entry arg].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1165
    (breakpointList contains:[:entry | entry arg isNil]) ifTrue:[
8859
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1166
        breakpointArgs add:'<nil>'.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1167
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1168
    breakpointArgs := breakpointArgs asSortedCollection.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1169
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1170
    menu := Menu new.
8859
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1171
    menu addItem:(
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1172
            MenuItem new
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1173
                label:'Toggle All';
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1174
                translateLabel:true;
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1175
                hideMenuOnActivated:false;
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1176
                value:[
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1177
                        showCodeBreakpointsFor do:[:each |
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1178
                            each value:(each value not)
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1179
                        ]
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1180
                      ]).
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1181
    menu addSeparator.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1182
8859
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1183
    breakpointArgs do:[:arg|
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1184
        | menuItem |
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1185
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1186
        menuItem := MenuItem new.
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1187
        menuItem label:arg.
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1188
        menuItem translateLabel:false.
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1189
        menuItem indication:(showCodeBreakpointsFor at:arg ifAbsentPut:[true asValue]).
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1190
        menuItem hideMenuOnActivated:false.
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1191
        menuItem value:[:onOff |
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1192
            (showCodeBreakpointsFor at:arg ifAbsentPut:[true asValue]) value:onOff.
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1193
            self updateShownBreakpointList
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1194
        ].
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1195
        menu addItem:menuItem.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1196
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1197
    menu findGuiResourcesIn:self.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1198
    ^ menu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1199
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1200
    "Modified: / 27-03-2007 / 10:54:29 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1201
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1202
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1203
enabledCodeBreakpointMenu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1204
    <resource: #programMenu >
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1205
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1206
    |breakpointArgs menu enabledCodeBreakpointHolders|
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1207
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1208
    enabledCodeBreakpointHolders := Dictionary new.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1209
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1210
    breakpointArgs := Set new.
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1211
    breakpointList
8858
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1212
        select:[:entry | entry arg notNil]
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1213
        thenDo:[:entry | breakpointArgs add:entry arg].
8859
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1214
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1215
    (breakpointList contains:[:entry | entry arg isNil]) ifTrue:[
8858
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1216
        breakpointArgs add:'<nil>'.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1217
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1218
    breakpointArgs := breakpointArgs asSortedCollection.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1219
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1220
    menu := Menu new.
8859
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1221
    menu addItem:(
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1222
            MenuItem new
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1223
                label:'Toggle All';
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1224
                translateLabel:true;
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1225
                hideMenuOnActivated:false;
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1226
                value:[
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1227
                        enabledCodeBreakpointHolders do:[:each |
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1228
                            each value:(each value not)
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1229
                        ]
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1230
                      ]).
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1231
    menu addSeparator.
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1232
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1233
    breakpointArgs do:[:arg|
8858
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1234
        | menuItem |
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1235
8858
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1236
        menuItem := MenuItem new.
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1237
        menuItem label:arg.
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1238
        menuItem translateLabel:false.
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1239
        menuItem indication:(enabledCodeBreakpointHolders at:arg ifAbsentPut:[ (Object isBreakPointEnabled:arg) asValue ]).
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1240
        menuItem hideMenuOnActivated:false.
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1241
        menuItem value:[:onOff |
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1242
            (enabledCodeBreakpointHolders at:arg ifAbsentPut:[(Object isBreakPointEnabled:arg) asValue]) value:onOff.
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1243
            onOff ifFalse:[
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1244
                Object disableBreakPoint:arg
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1245
            ] ifTrue:[
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1246
                Object enableBreakPoint:arg
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1247
            ].
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1248
        ].
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1249
        menu addItem:menuItem.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1250
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1251
    menu findGuiResourcesIn:self.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1252
    ^ menu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1253
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1254
    "Modified: / 27-03-2007 / 10:54:29 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1255
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1256
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1257
!BreakpointBrowser methodsFor:'user actions'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1258
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1259
browseSelectedItem
8362
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
  1260
    self withWaitCursorDo:[
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
  1261
        (self selectedBreakpointListEntry) browse
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
  1262
    ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1263
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1264
    "Created: / 22-10-2006 / 01:49:13 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1265
    "Modified: / 18-02-2007 / 12:56:30 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1266
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1267
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1268
itemDoubleClicked:itemIndex
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1269
    self browseSelectedItem
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1270
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1271
    "Created: / 22-10-2006 / 01:49:13 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1272
    "Modified: / 18-02-2007 / 12:56:30 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1273
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1274
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1275
resort
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1276
    |sortBlock sortBlock1|
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1277
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1278
    currentSortColumn isNil ifTrue:[^ self ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1279
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1280
    sortBlock := sortBlock1 := [:a :b |
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1281
				    |vA vB|
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1282
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1283
				    vA := (a perform:currentSortColumn).
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1284
				    vB := (b perform:currentSortColumn).
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1285
				    vA = vB ifTrue:[
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1286
					currentSortColumn == #type ifTrue:[
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1287
					    vA := a arg.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1288
					    vB := b arg.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1289
					    vA = vB ifTrue:[
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1290
						vA := a className.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1291
						vB := b className.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1292
						vA = vB ifTrue:[
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1293
						    vA := a selector.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1294
						    vB := b selector.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1295
						    vA = vB ifTrue:[
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1296
							vA := a lineNumber.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1297
							vB := b lineNumber.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1298
						    ]
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1299
						]
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1300
					    ]
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1301
					]
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1302
				    ].
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1303
				    (vA ? '') < (vB ? '')
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1304
			       ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1305
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1306
    currentSortIsReverse ifTrue:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1307
	sortBlock := [:a :b | (sortBlock1 value:a value:b) not ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1308
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1309
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1310
    "/ temporary hack - should make a copy of the real list
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1311
    self shownCopyOfBreakpointList sort:sortBlock
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1312
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1313
    "Created: / 25-10-2006 / 01:01:26 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1314
    "Modified: / 18-02-2007 / 13:02:19 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1315
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1316
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1317
sortBy:instanceName
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1318
    self sortBy:instanceName withReverse:true
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1319
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1320
    "Created: / 25-10-2006 / 00:53:55 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1321
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1322
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1323
sortBy:instanceName withReverse:aBoolean
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1324
    |aSymbol|
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1325
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1326
    aSymbol := instanceName asSymbol.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1327
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1328
    currentSortColumn isNil ifTrue:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1329
	currentSortColumn := aSymbol.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1330
	currentSortIsReverse := false.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1331
    ] ifFalse:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1332
	currentSortColumn = aSymbol ifTrue:[
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1333
	    "/ same column like before - change sort order ifReverse is true
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1334
	    aBoolean ifTrue:[
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1335
		currentSortIsReverse := currentSortIsReverse not.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1336
	    ].
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1337
	] ifFalse:[
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1338
	    "/ another column - remark column
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1339
	    currentSortColumn := aSymbol.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1340
	]
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1341
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1342
    self resort.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1343
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1344
    "Created: / 25-10-2006 / 00:54:59 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1345
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1346
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1347
updateList
8767
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1348
    updateProcess notNil ifTrue:[^ self ].
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1349
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1350
    self updatingLabelShown value:true.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1351
    "/ cg: mhmh why is this needed ????
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1352
    Delay waitForSeconds:0.1.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1353
    self windowGroup repairDamage.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1354
8767
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1355
    updateProcess := 
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1356
        [
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1357
            [
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1358
                ActivityNotification handle:[:ex |
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1359
                    self infoHolder value:ex errorString.
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1360
                    self windowGroup processExposeEvents.
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1361
                    ex proceed.
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1362
                ] do:[
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1363
                    self updateBreakpointList.
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1364
                    self updateShownBreakpointList.
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1365
                ]
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1366
            ] ensure:[
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1367
                updateProcess := nil.
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1368
                self updatingLabelShown value:false.
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1369
            ].
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1370
        ] newProcess.
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1371
    updateProcess resume.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1372
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1373
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1374
!BreakpointBrowser::BreakpointListEntry methodsFor:'accessing'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1375
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1376
arg
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1377
    ^ arg
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1378
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1379
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1380
className
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1381
    ^ className
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1382
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1383
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1384
enabled
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1385
    ^ enabled
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1386
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1387
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1388
info
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1389
    ^ info
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1390
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1391
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1392
lineNumber
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1393
    ^ lineNumber
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1394
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1395
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1396
selector
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1397
    ^ selector
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1398
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1399
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1400
type
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1401
    ^ type
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1402
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1403
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1404
type:typeArg arg:argArg className:classNameArg selector:selectorArg lineNumber:lineNumberArg info:infoArg enabled:enabledArg
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1405
    type := typeArg.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1406
    arg := argArg.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1407
    className := classNameArg.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1408
    selector := selectorArg.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1409
    lineNumber := lineNumberArg.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1410
    info := infoArg.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1411
    enabled := enabledArg.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1412
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1413
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1414
!BreakpointBrowser::BreakpointListEntry methodsFor:'actions'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1415
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1416
browse
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1417
    |browser|
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1418
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1419
    browser := UserPreferences systemBrowserClass
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1420
	openInClass:(Smalltalk classNamed:className) selector:selector.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1421
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1422
    lineNumber notNil ifTrue:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1423
	browser codeView cursorLine:lineNumber col:1.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1424
	browser codeView selectLine:lineNumber.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1425
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1426
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1427
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1428
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1429
method
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1430
    ^ (Smalltalk classNamed:className) compiledMethodAt:selector.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1431
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1432
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1433
!BreakpointBrowser::BreakpointListEntry methodsFor:'testing'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1434
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1435
isAssertion
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1436
    ^ type == #assertion
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1437
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1438
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1439
isCodeBreakpoint
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1440
    ^ type == #breakPoint
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1441
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1442
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1443
isHalt
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1444
    ^ type == #halt
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1445
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1446
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1447
isMethodBreakpoint
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1448
    ^ type == #wrap
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1449
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1450
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1451
!BreakpointBrowser::MessageArgumentExtractor methodsFor:'accessing'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1452
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1453
callBack:something
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1454
    callBack := something.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1455
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1456
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1457
selectorToSearch:something
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1458
    selectorToSearch := something.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1459
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1460
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1461
!BreakpointBrowser::MessageArgumentExtractor methodsFor:'visiting'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1462
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1463
acceptMessageNode: aMessageNode
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1464
    |arg1Node arg1 arg2Node arg2 argument infoMessage|
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1465
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1466
    aMessageNode selector == selectorToSearch ifTrue:[
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1467
        aMessageNode arguments size > 0 ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1468
            arg1Node := aMessageNode arguments first.
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1469
            arg1Node isLiteral ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1470
                arg1 := arg1Node value.
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1471
            ] ifFalse:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1472
                arg1 := '(...)'.
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1473
            ].
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1474
            aMessageNode arguments size > 1 ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1475
                arg2Node := aMessageNode arguments second.
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1476
                arg2Node isLiteral ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1477
                    arg2 := arg2Node value.
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1478
                ] ifFalse:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1479
                    arg2 := '(...)'.
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1480
                ].
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1481
            ].
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1482
        ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1483
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1484
        selectorToSearch == #halt: ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1485
            infoMessage := arg1.
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1486
        ].
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1487
        selectorToSearch == #breakPoint: ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1488
            argument := arg1.
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1489
        ].
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1490
        selectorToSearch == #breakPoint:info: ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1491
            argument := arg1.
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1492
            infoMessage := arg2.
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1493
        ].
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1494
        selectorToSearch == #debuggingCodeFor:is: ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1495
            argument := arg1.
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1496
        ].
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1497
        selectorToSearch == #assert: ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1498
        ].
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1499
        selectorToSearch == #assert:message: ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1500
            infoMessage := arg2.
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1501
        ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1502
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1503
        callBack
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1504
            value:aMessageNode firstLineNumber
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1505
            value:argument
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1506
            value:infoMessage
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1507
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1508
    super acceptMessageNode: aMessageNode
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1509
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1510
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1511
!BreakpointBrowser class methodsFor:'documentation'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1512
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1513
version
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
  1514
    ^ '$Header: /cvs/stx/stx/libtool/Tools__BreakpointBrowser.st,v 1.15 2009-10-22 13:58:02 cg Exp $'
8858
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1515
!
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1516
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1517
version_CVS
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
  1518
    ^ '$Header: /cvs/stx/stx/libtool/Tools__BreakpointBrowser.st,v 1.15 2009-10-22 13:58:02 cg Exp $'
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1519
! !