Tools__BreakpointBrowser.st
author Claus Gittinger <cg@exept.de>
Thu, 28 Mar 2013 16:00:28 +0100
changeset 12561 0766dc3e8079
parent 12526 dc89c5a91cfc
child 12563 a59337482755
permissions -rw-r--r--
class: Tools::BreakpointBrowser added package and class filter; show ignore status category
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
12526
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
    19
		showHalts showOthers showAssertions showAssertionsInTests
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
    20
		showCodeBreakpoints showCodeBreakpointsFor showMethodBreakpoints
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
    21
		showLineBreakpoints showDebugCode codeView infoHolder
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
    22
		updateProcess showWhichHaltsHolder packageFilter classNameFilter'
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    23
	classVariableNames:'MessagesAndTypes'
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
	poolDictionaries:''
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
    25
	category:'Interface-Debugger'
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
Object subclass:#BreakpointListEntry
9079
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
    29
	instanceVariableNames:'type ignoredInfo arg className selector lineNumber info enabled'
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
	classVariableNames:''
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
	poolDictionaries:''
8302
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
    32
	privateIn:BreakpointBrowser
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
12012
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
    35
BreakpointBrowser::BreakpointListEntry subclass:#BreakpointListEntryForLineBreak
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
    36
	instanceVariableNames:'breakPoint'
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
    37
	classVariableNames:''
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
    38
	poolDictionaries:''
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
    39
	privateIn:BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
    40
!
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
    41
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
RBProgramNodeVisitor subclass:#MessageArgumentExtractor
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
	instanceVariableNames:'callBack selectorToSearch'
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
	classVariableNames:''
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
	poolDictionaries:''
8302
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
    46
	privateIn:BreakpointBrowser
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
!BreakpointBrowser class methodsFor:'documentation'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
8234
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    51
copyright
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    52
"
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    53
 COPYRIGHT (c) 2008 by eXept Software AG
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
    54
	      All Rights Reserved
8234
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
 This software is furnished under a license and may be used
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    57
 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
    58
 inclusion of the above copyright notice.   This software may not
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    59
 be provided or otherwise made available to, or used by, any
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    60
 other person.  No title to or ownership of the software is
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    61
 hereby transferred.
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    62
"
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    63
!
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    64
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
documentation
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
"
8234
971ce68b9ff6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8233
diff changeset
    67
    tool to list breakpoints (breakPoint/halt/assert)
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
    [author:]
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
    70
	cg (cg@FUSI)
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    74
!BreakpointBrowser class methodsFor:'initialization'!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    75
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    76
defaultListOfMessagesAndTypes
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    77
    "the set of messages which are shown; 
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    78
     you can add your own one's with a #other categorization"
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    79
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    80
    ^ #(
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    81
        (#breakPoint:           #breakPoint)
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    82
        (#breakPoint:info:      #breakPoint)
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    83
        (#debuggingCodeFor:is:  #debugCode)
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    84
        (#halt                  #halt)
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    85
        (#halt:                 #halt)
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    86
        (#assert:               #assertion)
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    87
        (#assert:message:       #assertion)
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    88
        (#todo                  #other)
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    89
        (#todo:                 #other)
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    90
    ).
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    91
!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    92
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    93
initialize
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    94
    MessagesAndTypes := self defaultListOfMessagesAndTypes
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    95
! !
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
    96
9335
1694dac4e946 added: #defaultIcon
Claus Gittinger <cg@exept.de>
parents: 9285
diff changeset
    97
!BreakpointBrowser class methodsFor:'defaults'!
1694dac4e946 added: #defaultIcon
Claus Gittinger <cg@exept.de>
parents: 9285
diff changeset
    98
1694dac4e946 added: #defaultIcon
Claus Gittinger <cg@exept.de>
parents: 9285
diff changeset
    99
defaultIcon
9804
87e3f570a574 set icon resource
Stefan Vogel <sv@exept.de>
parents: 9795
diff changeset
   100
    <resource: #programImage>
87e3f570a574 set icon resource
Stefan Vogel <sv@exept.de>
parents: 9795
diff changeset
   101
9335
1694dac4e946 added: #defaultIcon
Claus Gittinger <cg@exept.de>
parents: 9285
diff changeset
   102
    ^ ToolbarIconLibrary openBreakpointBrowserIcon
1694dac4e946 added: #defaultIcon
Claus Gittinger <cg@exept.de>
parents: 9285
diff changeset
   103
! !
1694dac4e946 added: #defaultIcon
Claus Gittinger <cg@exept.de>
parents: 9285
diff changeset
   104
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   105
!BreakpointBrowser class methodsFor:'interface specs'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   106
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   107
windowSpec
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   108
    "This resource specification was automatically generated
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   109
     by the UIPainter of ST/X."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   110
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   111
    "Do not manually edit this!! If it is corrupted,
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   112
     the UIPainter may not be able to read the specification."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   113
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   114
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   115
     UIPainter new openOnClass:Tools::BreakpointBrowser andSelector:#windowSpec
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   116
     Tools::BreakpointBrowser new openInterface:#windowSpec
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   117
     Tools::BreakpointBrowser open
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   118
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   119
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   120
    <resource: #canvas>
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   121
8357
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   122
    ^ 
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   123
     #(FullSpec
8357
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   124
        name: windowSpec
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   125
        window: 
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   126
       (WindowSpec
8357
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   127
          label: 'Breakpoint Browser'
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   128
          name: 'Breakpoint Browser'
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   129
          min: (Point 10 10)
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   130
          bounds: (Rectangle 0 0 680 691)
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   131
          menu: mainMenu
9335
1694dac4e946 added: #defaultIcon
Claus Gittinger <cg@exept.de>
parents: 9285
diff changeset
   132
          icon: defaultIcon
8357
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
        component: 
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   135
       (SpecCollection
8357
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   136
          collection: (
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   137
           (MenuPanelSpec
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   138
              name: 'ToolBar1'
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   139
              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
   140
              menu: toolBarMenu
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   141
              textDefault: true
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   142
            )
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   143
           (VariableVerticalPanelSpec
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   144
              name: 'VariableVerticalPanel1'
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   145
              layout: (LayoutFrame 0 0 40 0 0 1 0 1)
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   146
              snapMode: both
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   147
              component: 
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   148
             (SpecCollection
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   149
                collection: (
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   150
                 (DataSetSpec
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   151
                    name: 'Table'
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   152
                    model: selectionIndexHolder
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   153
                    menu: itemMenu
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   154
                    hasHorizontalScrollBar: true
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   155
                    hasVerticalScrollBar: true
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   156
                    dataList: shownCopyOfBreakpointList
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   157
                    doubleClickSelector: itemDoubleClicked:
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   158
                    columnHolder: tableColumns
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   159
                  )
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   160
                 (TextEditorSpec
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   161
                    name: 'TextEditor1'
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   162
                    hasHorizontalScrollBar: true
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   163
                    hasVerticalScrollBar: true
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   164
                    hasKeyboardFocusInitially: false
12009
9d2c3ebb1a2d honor the codeView/codeView2 setting
Claus Gittinger <cg@exept.de>
parents: 12008
diff changeset
   165
                    viewClassName: 'codeViewClass'
8357
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   166
                    postBuildCallback: postBuildCodeView:
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   167
                  )
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   168
                 )
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   169
               
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   170
              )
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   171
              handles: (Any 0.5 1.0)
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   172
            )
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   173
           (LabelSpec
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   174
              label: 'Updating - Please Wait...'
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   175
              name: 'Label1'
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   176
              layout: (LayoutFrame 0 0 40 0 0 1 0 1)
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   177
              visibilityChannel: updatingLabelShown
12009
9d2c3ebb1a2d honor the codeView/codeView2 setting
Claus Gittinger <cg@exept.de>
parents: 12008
diff changeset
   178
              backgroundColor: (Color 100.0 49.9992370489052 49.9992370489052)
8357
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   179
              translateLabel: true
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   180
            )
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   181
           (ViewSpec
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   182
              name: 'InfoBox'
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   183
              layout: (LayoutFrame 0 0 -30 1 0 1 0 1)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   184
              visibilityChannel: updatingLabelShown
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   185
              component: 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   186
             (SpecCollection
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   187
                collection: (
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   188
                 (LabelSpec
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   189
                    label: 'Label'
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   190
                    name: 'Label2'
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   191
                    layout: (LayoutFrame 2 0 2 0 680 0 30 0)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   192
                    level: -1
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   193
                    translateLabel: true
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   194
                    labelChannel: infoHolder
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   195
                    adjust: left
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   196
                  )
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   197
                 )
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   198
               
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   199
              )
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   200
            )
8357
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   201
           )
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   202
         
2fa277092d1c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8354
diff changeset
   203
        )
8233
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
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   207
!BreakpointBrowser class methodsFor:'menu specs'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   208
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   209
itemMenu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   210
    "This resource specification was automatically generated
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   211
     by the MenuEditor of ST/X."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   212
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   213
    "Do not manually edit this!! If it is corrupted,
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   214
     the MenuEditor may not be able to read the specification."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   215
12012
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
   216
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   217
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   218
     MenuEditor new openOnClass:Tools::BreakpointBrowser andSelector:#itemMenu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   219
     (Menu new fromLiteralArrayEncoding:(Tools::BreakpointBrowser itemMenu)) startUp
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   220
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   221
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   222
    <resource: #menu>
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   223
9079
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
   224
    ^ 
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   225
     #(Menu
8362
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   226
        (
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   227
         (MenuItem
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   228
            label: 'Browse'
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   229
            itemValue: browseSelectedItem
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   230
          )
9079
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
   231
         (MenuItem
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
   232
            label: '-'
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
   233
          )
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
   234
         (MenuItem
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
   235
            enabled: selectedItemIsIgnoredHalt
9795
b1dc5c2513fe changed: #itemMenu
Claus Gittinger <cg@exept.de>
parents: 9638
diff changeset
   236
            label: 'Stop Ignoring this Halt'
9079
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
   237
            itemValue: reenableHalt
12012
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
   238
          )
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
   239
         (MenuItem
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
   240
            enabled: selectedItemIsEnabledLineBreak
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
   241
            label: 'Disable this Breakpoint'
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
   242
            itemValue: disableLineBreak
9079
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
   243
          )
8362
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   244
         )
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   245
        nil
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   246
        nil
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   247
      )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   248
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   249
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   250
mainMenu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   251
    "This resource specification was automatically generated
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   252
     by the MenuEditor of ST/X."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   253
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   254
    "Do not manually edit this!! If it is corrupted,
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   255
     the MenuEditor may not be able to read the specification."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   256
12008
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
   257
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   258
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   259
     MenuEditor new openOnClass:Tools::BreakpointBrowser andSelector:#mainMenu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   260
     (Menu new fromLiteralArrayEncoding:(Tools::BreakpointBrowser mainMenu)) startUp
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   261
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   262
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   263
    <resource: #menu>
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   264
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
   265
    ^ 
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   266
     #(Menu
8354
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: 'File'
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
   270
            submenu: 
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   271
           (Menu
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   272
              (
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   273
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   274
                  label: 'Exit'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   275
                  itemValue: closeRequest
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   276
                )
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
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   279
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   280
            )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   281
          )
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
   282
         (MenuItem
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   283
            label: 'Selection'
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
   284
            submenu: 
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   285
           (Menu
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   286
              (
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   287
               (MenuItem
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   288
                  enabled: hasSelectionHolder
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   289
                  label: 'Browse'
8362
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
   290
                  itemValue: browseSelectedItem
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   291
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   292
               )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   293
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   294
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   295
            )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   296
          )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   297
         (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   298
            label: 'View'
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
   299
            submenu: 
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   300
           (Menu
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
               (MenuItem
12016
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
   303
                  label: 'Toggle all'
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
   304
                  itemValue: toggleAllShownTypes
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
   305
                  hideMenuOnActivated: false
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   306
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   307
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   308
                  label: '-'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   309
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   310
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   311
                  label: 'Assertions'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   312
                  itemValue: showAssertions:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   313
                  hideMenuOnActivated: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   314
                  indication: showAssertions
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   315
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   316
               (MenuItem
12526
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
   317
                  enabled: showAssertions
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
   318
                  label: 'Assertions in Tests'
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
   319
                  itemValue: showAssertionsInTests:
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
   320
                  hideMenuOnActivated: false
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
   321
                  indication: showAssertionsInTests
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
   322
                )
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
   323
               (MenuItem
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   324
                  label: 'Halts'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   325
                  itemValue: showHalts:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   326
                  hideMenuOnActivated: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   327
                  indication: showHalts
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
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   330
                  enabled: showHalts
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   331
                  label: ' '
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   332
                  submenu: 
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   333
                 (Menu
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   334
                    (
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   335
                     (MenuItem
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   336
                        label: 'All Halts'
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   337
                        nameKey: AllHalts
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   338
                        choice: showWhichHaltsHolder
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   339
                        choiceValue: all
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   340
                      )
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   341
                     (MenuItem
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   342
                        label: 'Enabled Halts'
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   343
                        nameKey: EnabledHalts
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   344
                        choice: showWhichHaltsHolder
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   345
                        choiceValue: enabled
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   346
                      )
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   347
                     (MenuItem
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   348
                        label: 'Ignored Halts'
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   349
                        nameKey: IgnoredHalts
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   350
                        choice: showWhichHaltsHolder
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   351
                        choiceValue: ignored
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   352
                      )
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   353
                     )
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   354
                    nil
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   355
                    nil
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   356
                  )
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   357
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   358
               (MenuItem
12008
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
   359
                  label: 'Coded Breakpoints'
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   360
                  itemValue: showCodeBreakpoints:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   361
                  hideMenuOnActivated: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   362
                  indication: showCodeBreakpoints
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
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   365
                  enabled: showCodeBreakpoints
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   366
                  label: ' '
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   367
                  submenuChannel: codeBreakpointMenu
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   368
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   369
               (MenuItem
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   370
                  label: 'Debug Code'
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   371
                  itemValue: showDebugCode:
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   372
                  hideMenuOnActivated: false
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   373
                  indication: showDebugCode
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   374
                )
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   375
               (MenuItem
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   376
                  label: 'Other Debug Messages'
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   377
                  itemValue: showOthers:
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   378
                  hideMenuOnActivated: false
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   379
                  indication: showOthers
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   380
                )
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   381
               (MenuItem
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   382
                  label: '-'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   383
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   384
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   385
                  label: 'Method Breakpoints'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   386
                  itemValue: showMethodBreakpoints:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   387
                  hideMenuOnActivated: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   388
                  indication: showMethodBreakpoints
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   389
                )
12008
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
   390
               (MenuItem
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
   391
                  label: 'Line Breakpoints'
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
   392
                  itemValue: showLineBreakpoints:
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
   393
                  hideMenuOnActivated: false
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
   394
                  indication: showLineBreakpoints
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
   395
                )
12016
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
   396
               (MenuItem
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
   397
                  label: '-'
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
   398
                )
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
   399
               (MenuItem
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
   400
                  label: 'Update List'
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
   401
                  itemValue: updateList
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
   402
                )
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   403
               )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   404
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   405
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   406
            )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   407
          )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   408
         (MenuItem
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   409
            label: 'Filter'
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   410
            submenu: 
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   411
           (Menu
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   412
              (
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   413
               (MenuItem
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   414
                  label: 'Package Filter...'
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   415
                  itemValue: openPackageFilterDialog
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   416
                )
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   417
               (MenuItem
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   418
                  label: 'Class Filter...'
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   419
                  itemValue: openClassFilterDialog
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   420
                )
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   421
               )
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   422
              nil
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   423
              nil
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   424
            )
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   425
          )
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   426
         (MenuItem
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   427
            label: 'Enable'
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
   428
            submenu: 
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   429
           (Menu
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   430
              (
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   431
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   432
                  label: 'Assertions'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   433
                  itemValue: enableAssertions:
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
   434
                  hideMenuOnActivated: false
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   435
                  indication: enableAssertions
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   436
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   437
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   438
                  label: 'Halts'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   439
                  itemValue: enableHalts:
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
   440
                  hideMenuOnActivated: false
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   441
                  indication: enableHalts
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   442
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   443
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   444
                  label: '-'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   445
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   446
               (MenuItem
12012
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
   447
                  label: 'Coded Breakpoints'
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   448
                  submenuChannel: enabledCodeBreakpointMenu
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   449
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   450
               )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   451
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   452
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   453
            )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   454
          )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   455
         (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   456
            label: 'Help'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   457
            startGroup: right
9045
a43cc56e8dca changed: #mainMenu
Claus Gittinger <cg@exept.de>
parents: 8859
diff changeset
   458
            submenu: 
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   459
           (Menu
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   460
              (
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   461
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   462
                  label: 'Documentation'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   463
                  itemValue: openDocumentation
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   464
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   465
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   466
                  label: '-'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   467
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   468
               (MenuItem
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   469
                  label: 'About this Application...'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   470
                  itemValue: openAboutThisApplication
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   471
                )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   472
               )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   473
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   474
              nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   475
            )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   476
          )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   477
         )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   478
        nil
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   479
        nil
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   480
      )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   481
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   482
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   483
toolBarMenu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   484
    "This resource specification was automatically generated
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   485
     by the MenuEditor of ST/X."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   486
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   487
    "Do not manually edit this!! If it is corrupted,
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   488
     the MenuEditor may not be able to read the specification."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   489
12012
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
   490
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   491
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   492
     MenuEditor new openOnClass:Tools::BreakpointBrowser andSelector:#toolBarMenu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   493
     (Menu new fromLiteralArrayEncoding:(Tools::BreakpointBrowser toolBarMenu)) startUp
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
    <resource: #menu>
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   497
12012
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
   498
    ^ 
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   499
     #(Menu
10853
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   500
        (
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   501
         (MenuItem
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   502
            label: 'Update List'
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   503
            itemValue: updateList
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   504
            isButton: true
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   505
            labelImage: (ResourceRetriever ToolbarIconLibrary reloadIcon)
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   506
          )
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   507
         (MenuItem
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   508
            label: '-'
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   509
          )
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   510
         (MenuItem
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   511
            enabled: hasSelectionHolder
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   512
            label: 'Browse Selected Method'
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   513
            itemValue: browseSelectedItem
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   514
            isButton: true
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   515
            labelImage: (ResourceRetriever ToolbarIconLibrary startNewSystemBrowserIcon)
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   516
          )
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   517
         )
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   518
        nil
2c561fd68036 changed: #toolBarMenu
Claus Gittinger <cg@exept.de>
parents: 9804
diff changeset
   519
        nil
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   520
      )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   521
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   522
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   523
!BreakpointBrowser class methodsFor:'tableColumns specs'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   524
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   525
tableColumns
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   526
    "This resource specification was automatically generated
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   527
     by the DataSetBuilder of ST/X."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   528
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   529
    "Do not manually edit this!! If it is corrupted,
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   530
     the DataSetBuilder may not be able to read the specification."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   531
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   532
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   533
     DataSetBuilder new openOnClass:Tools::BreakpointBrowser andSelector:#tableColumns
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   534
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   535
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   536
    <resource: #tableColumns>
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   537
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   538
    ^#(
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   539
      (DataSetColumnSpec
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   540
         label: 'Type'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   541
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   542
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   543
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   544
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   545
         labelActionArgument: 'type'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   546
         width: 70
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   547
         model: type
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   548
         canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   549
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   550
      (DataSetColumnSpec
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   551
         label: 'Arg'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   552
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   553
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   554
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   555
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   556
         labelActionArgument: 'type'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   557
         width: 50
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   558
         model: arg
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   559
         canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   560
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   561
      (DataSetColumnSpec
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   562
         label: 'Class'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   563
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   564
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   565
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   566
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   567
         labelActionArgument: 'className'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   568
         width: 150
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   569
         model: className
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   570
         canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   571
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   572
      (DataSetColumnSpec
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   573
         label: 'Method'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   574
         labelAlignment: left
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   575
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   576
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   577
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   578
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   579
         labelActionArgument: 'selector'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   580
         width: 200
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   581
         model: selector
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   582
         canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   583
       )
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   584
      (DataSetColumnSpec
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   585
         label: 'Ign'
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   586
         labelButtonType: Button
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   587
         columnAlignment: center
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   588
         width: 50
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   589
         model: isIgnored
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   590
         menuFromApplication: false
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   591
       )
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   592
      (DataSetColumnSpec
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   593
         label: 'Info'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   594
         labelAlignment: left
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   595
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   596
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   597
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   598
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   599
         labelActionArgument: 'info'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   600
         model: info
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   601
         canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   602
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   603
      )
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
   604
    
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   605
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   606
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   607
tableColumns_v1
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   608
    "This resource specification was automatically generated
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   609
     by the DataSetBuilder of ST/X."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   610
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   611
    "Do not manually edit this!! If it is corrupted,
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   612
     the DataSetBuilder may not be able to read the specification."
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   613
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   614
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   615
     DataSetBuilder new openOnClass:Tools::BreakpointBrowser andSelector:#tableColumns
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   616
    "
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   617
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   618
    <resource: #tableColumns>
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   619
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   620
    ^#(
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   621
      (DataSetColumnSpec
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   622
	 label: 'Enabled'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   623
	 activeHelpKey: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   624
	 activeHelpKeyForLabel: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   625
	 labelButtonType: Button
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   626
	 width: 50
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   627
	 editorType: CheckToggle
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   628
	 rendererType: CheckToggle
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   629
	 model: enabled
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   630
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   631
      (DataSetColumnSpec
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   632
	 label: 'Type'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   633
	 activeHelpKey: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   634
	 activeHelpKeyForLabel: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   635
	 labelButtonType: Button
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   636
	 labelActionSelector: sortBy:
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   637
	 labelActionArgument: 'type'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   638
	 width: 60
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   639
	 model: type
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   640
	 canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   641
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   642
      (DataSetColumnSpec
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   643
	 label: 'Arg'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   644
	 activeHelpKey: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   645
	 activeHelpKeyForLabel: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   646
	 labelButtonType: Button
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   647
	 labelActionSelector: sortBy:
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   648
	 labelActionArgument: 'type'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   649
	 width: 50
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   650
	 model: arg
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   651
	 canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   652
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   653
      (DataSetColumnSpec
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   654
	 label: 'Class'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   655
	 activeHelpKey: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   656
	 activeHelpKeyForLabel: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   657
	 labelButtonType: Button
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   658
	 labelActionSelector: sortBy:
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   659
	 labelActionArgument: 'className'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   660
	 width: 150
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   661
	 model: className
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   662
	 canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   663
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   664
      (DataSetColumnSpec
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   665
	 label: 'Method'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   666
	 labelAlignment: left
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   667
	 activeHelpKey: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   668
	 activeHelpKeyForLabel: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   669
	 labelButtonType: Button
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   670
	 labelActionSelector: sortBy:
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   671
	 labelActionArgument: 'selector'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   672
	 width: 200
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   673
	 model: selector
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   674
	 canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   675
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   676
      (DataSetColumnSpec
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   677
	 label: 'Line'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   678
	 labelAlignment: left
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   679
	 activeHelpKey: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   680
	 activeHelpKeyForLabel: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   681
	 labelButtonType: Button
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   682
	 labelActionSelector: sortBy:
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   683
	 labelActionArgument: 'lineNumber'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   684
	 width: 35
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   685
	 model: lineNumber
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   686
	 canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   687
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   688
      (DataSetColumnSpec
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   689
	 label: 'Info'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   690
	 labelAlignment: left
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   691
	 activeHelpKey: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   692
	 activeHelpKeyForLabel: ''
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   693
	 labelButtonType: Button
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   694
	 labelActionSelector: sortBy:
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   695
	 labelActionArgument: 'info'
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   696
	 model: info
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   697
	 canSelect: false
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   698
       )
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   699
      )
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   700
!
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   701
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   702
tableColumns_v2
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   703
    "This resource specification was automatically generated
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   704
     by the DataSetBuilder of ST/X."
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   705
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   706
    "Do not manually edit this!! If it is corrupted,
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   707
     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
   708
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   709
    "
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   710
     DataSetBuilder new openOnClass:Tools::BreakpointBrowser andSelector:#tableColumns
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   711
    "
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   712
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   713
    <resource: #tableColumns>
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   714
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   715
    ^#(
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   716
      (DataSetColumnSpec
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   717
         label: 'Type'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   718
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   719
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   720
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   721
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   722
         labelActionArgument: 'type'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   723
         width: 70
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   724
         model: type
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   725
         canSelect: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   726
       )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   727
      (DataSetColumnSpec
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   728
         label: 'Arg'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   729
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   730
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   731
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   732
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   733
         labelActionArgument: 'type'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   734
         width: 50
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   735
         model: arg
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   736
         canSelect: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   737
       )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   738
      (DataSetColumnSpec
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   739
         label: 'Class'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   740
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   741
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   742
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   743
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   744
         labelActionArgument: 'className'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   745
         width: 150
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   746
         model: className
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   747
         canSelect: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   748
       )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   749
      (DataSetColumnSpec
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   750
         label: 'Method'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   751
         labelAlignment: left
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   752
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   753
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   754
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   755
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   756
         labelActionArgument: 'selector'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   757
         width: 200
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   758
         model: selector
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   759
         canSelect: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   760
       )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   761
      (DataSetColumnSpec
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   762
         label: 'Line'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   763
         labelAlignment: left
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   764
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   765
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   766
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   767
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   768
         labelActionArgument: 'lineNumber'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   769
         width: 35
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   770
         model: lineNumber
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   771
         canSelect: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   772
       )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   773
      (DataSetColumnSpec
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   774
         label: 'Info'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   775
         labelAlignment: left
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   776
         activeHelpKey: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   777
         activeHelpKeyForLabel: ''
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   778
         labelButtonType: Button
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   779
         labelActionSelector: sortBy:
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   780
         labelActionArgument: 'info'
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   781
         model: info
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   782
         canSelect: false
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   783
       )
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
   784
      )
8233
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
!BreakpointBrowser methodsFor:'accessing'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   788
8302
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   789
aboutThisApplicationText
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   790
    |msg|
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   791
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   792
    msg := super aboutThisApplicationText.
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   793
    msg := msg , '\\Written by Claus Gittinger (cg@exept.de).'.
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   794
    ^msg withCRs.
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   795
!
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
   796
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   797
breakpointListEntryAtIndex:idx
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   798
    ^ shownCopyOfBreakpointList at:idx ifAbsent:nil
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
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   802
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   803
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   804
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   805
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   806
messagesAndTypes
12021
d4ebd47bfc5d comment/format in: #messagesAndTypes
Claus Gittinger <cg@exept.de>
parents: 12020
diff changeset
   807
    "the spec of selectors to search for coded breakpoints"
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   808
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   809
    ^ MessagesAndTypes
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   810
!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   811
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   812
selectedBreakpointListEntry
8398
f90fc6048ed4 changed #selectedBreakpointListEntry
sr
parents: 8365
diff changeset
   813
    self selectionIndex isNil ifTrue:[^ nil].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   814
    ^ self breakpointListEntryAtIndex:(self selectionIndex).
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   815
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   816
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   817
selectionIndex
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   818
    ^ self selectionIndexHolder value
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   819
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   820
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   821
shownCopyOfBreakpointList
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   822
    shownCopyOfBreakpointList isNil ifTrue:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   823
	shownCopyOfBreakpointList := List new
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   824
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   825
    ^ shownCopyOfBreakpointList
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   826
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   827
    "Created: / 18-02-2007 / 12:53:01 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   828
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   829
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   830
updatingLabelShown
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   831
    updatingLabelShown isNil ifTrue:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   832
	updatingLabelShown := true asValue
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
    ^ updatingLabelShown
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   835
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   836
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   837
!BreakpointBrowser methodsFor:'aspects'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   838
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   839
enableAssertions
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   840
    ^ (Smalltalk at:#IgnoreAssertion ifAbsent:false) not
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   841
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   842
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   843
enableAssertions:aBoolean
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   844
    ^ Smalltalk at:#IgnoreAssertion put:aBoolean not
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   845
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   846
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   847
enableHalts
9638
dec674bd410b changed:
Claus Gittinger <cg@exept.de>
parents: 9614
diff changeset
   848
    ^ Smalltalk ignoreHalt not
dec674bd410b changed:
Claus Gittinger <cg@exept.de>
parents: 9614
diff changeset
   849
dec674bd410b changed:
Claus Gittinger <cg@exept.de>
parents: 9614
diff changeset
   850
    "Modified: / 18-11-2010 / 11:24:11 / cg"
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   851
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   852
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   853
enableHalts:aBoolean
9638
dec674bd410b changed:
Claus Gittinger <cg@exept.de>
parents: 9614
diff changeset
   854
    ^ Smalltalk ignoreHalt:aBoolean not
dec674bd410b changed:
Claus Gittinger <cg@exept.de>
parents: 9614
diff changeset
   855
dec674bd410b changed:
Claus Gittinger <cg@exept.de>
parents: 9614
diff changeset
   856
    "Modified: / 18-11-2010 / 11:30:03 / cg"
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   857
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   858
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   859
hasSelectionHolder
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   860
    ^ BlockValue
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   861
	with:[:selIndex | selIndex notNil and:[selIndex ~~ 0]]
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   862
	argument:self selectionIndexHolder
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   863
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   864
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   865
infoHolder
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   866
    infoHolder isNil ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
   867
        infoHolder := nil asValue.
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
    ^ infoHolder
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
    "Created: / 22-10-2006 / 02:00:41 / cg"
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
12012
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
   874
selectedItemIsEnabledLineBreak
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
   875
    |entry|
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
   876
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
   877
    entry := (self breakpointListEntryAtIndex:self selectionIndexHolder value).
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
   878
    ^ entry isLineBreakpoint and:[entry breakPoint isEnabled]
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
   879
!
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
   880
9079
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
   881
selectedItemIsIgnoredHalt
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
   882
    |entry info|
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
   883
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
   884
    entry := (self breakpointListEntryAtIndex:self selectionIndexHolder value).
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
   885
    info := Debugger haltIgnoreInformationFor:(entry method) atLineNr:(entry lineNumber).
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
   886
    ^ info notNil and:[ info isHaltIgnored ].
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
   887
!
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
   888
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   889
selectionIndexHolder
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   890
    selectionIndexHolder isNil ifTrue:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   891
	selectionIndexHolder := nil asValue.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
   892
	selectionIndexHolder onChangeSend:#updateCode to:self
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   893
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   894
    ^ selectionIndexHolder
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   895
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   896
    "Created: / 22-10-2006 / 02:00:41 / cg"
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
showAssertions
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   900
    ^ showAssertions ? true
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   901
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   902
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   903
showAssertions:aBoolean
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   904
    showAssertions := aBoolean.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   905
    self updateShownBreakpointList
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   906
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   907
12526
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
   908
showAssertionsInTests
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
   909
    ^ showAssertionsInTests ? false
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
   910
!
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
   911
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
   912
showAssertionsInTests:aBoolean
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
   913
    showAssertionsInTests := aBoolean.
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
   914
    self updateShownBreakpointList
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
   915
!
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
   916
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   917
showCodeBreakpoints
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   918
    ^ showCodeBreakpoints ? true
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   919
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   920
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   921
showCodeBreakpoints:aBoolean
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   922
    showCodeBreakpoints := aBoolean.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   923
    self updateShownBreakpointList
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   924
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   925
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   926
showDebugCode
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   927
    ^ showDebugCode ? true
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   928
!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   929
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   930
showDebugCode:aBoolean
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   931
    showDebugCode := aBoolean.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   932
    self updateShownBreakpointList
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   933
!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   934
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   935
showHalts
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   936
    ^ showHalts ? true
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   937
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   938
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   939
showHalts:aBoolean
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   940
    showHalts := aBoolean.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   941
    self updateShownBreakpointList
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   942
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   943
12008
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
   944
showLineBreakpoints
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
   945
    ^ showLineBreakpoints ? true
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
   946
!
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
   947
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
   948
showLineBreakpoints:aBoolean
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
   949
    showLineBreakpoints := aBoolean.
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
   950
    self updateShownBreakpointList
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
   951
!
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
   952
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   953
showMethodBreakpoints
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   954
    ^ showMethodBreakpoints ? true
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   955
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   956
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   957
showMethodBreakpoints:aBoolean
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   958
    showMethodBreakpoints := aBoolean.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   959
    self updateShownBreakpointList
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   960
!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   961
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   962
showOthers
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   963
    ^ showOthers ? true
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   964
!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   965
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   966
showOthers:aBoolean
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   967
    showOthers := aBoolean.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   968
    self updateShownBreakpointList
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   969
!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   970
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   971
showWhichHaltsHolder
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   972
    showWhichHaltsHolder isNil ifTrue:[
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   973
        showWhichHaltsHolder := #all asValue.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   974
        showWhichHaltsHolder onChangeSend:#updateShownBreakpointList to:self
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   975
    ].
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   976
    ^ showWhichHaltsHolder
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   977
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   978
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   979
!BreakpointBrowser methodsFor:'change & update'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   980
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   981
delayedUpdate:something with:aParameter from:changedObject
9092
6bd5d66d58cf changed:
Claus Gittinger <cg@exept.de>
parents: 9080
diff changeset
   982
    changedObject == Smalltalk ifTrue:[
6bd5d66d58cf changed:
Claus Gittinger <cg@exept.de>
parents: 9080
diff changeset
   983
        something == #methodInClass ifTrue:[
6bd5d66d58cf changed:
Claus Gittinger <cg@exept.de>
parents: 9080
diff changeset
   984
            self updateForClass:(aParameter first) selector:(aParameter second).
6bd5d66d58cf changed:
Claus Gittinger <cg@exept.de>
parents: 9080
diff changeset
   985
            ^ self.
6bd5d66d58cf changed:
Claus Gittinger <cg@exept.de>
parents: 9080
diff changeset
   986
        ].
6bd5d66d58cf changed:
Claus Gittinger <cg@exept.de>
parents: 9080
diff changeset
   987
        something == #methodInClassRemoved ifTrue:[
6bd5d66d58cf changed:
Claus Gittinger <cg@exept.de>
parents: 9080
diff changeset
   988
            self updateForClass:(aParameter first) selector:(aParameter second).
6bd5d66d58cf changed:
Claus Gittinger <cg@exept.de>
parents: 9080
diff changeset
   989
            ^ self.
6bd5d66d58cf changed:
Claus Gittinger <cg@exept.de>
parents: 9080
diff changeset
   990
        ].
6bd5d66d58cf changed:
Claus Gittinger <cg@exept.de>
parents: 9080
diff changeset
   991
        something == #ignoredHalts ifTrue:[
6bd5d66d58cf changed:
Claus Gittinger <cg@exept.de>
parents: 9080
diff changeset
   992
            self updateShownBreakpointList.
6bd5d66d58cf changed:
Claus Gittinger <cg@exept.de>
parents: 9080
diff changeset
   993
            ^ self.
6bd5d66d58cf changed:
Claus Gittinger <cg@exept.de>
parents: 9080
diff changeset
   994
        ].
6bd5d66d58cf changed:
Claus Gittinger <cg@exept.de>
parents: 9080
diff changeset
   995
    ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   996
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   997
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   998
filter
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
   999
    "filter those items which are to be shown from the complete list"
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1000
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1001
    |newList showWhichHalt|
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1002
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1003
    newList := breakpointList.
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1004
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1005
    classNameFilter notEmptyOrNil ifTrue:[
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1006
        newList := newList select:[:entry | entry relatedToClass:classNameFilter].
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1007
    ].
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1008
    packageFilter notEmptyOrNil ifTrue:[
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1009
        newList := newList select:[:entry | entry relatedToPackage:packageFilter].
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1010
    ].
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1011
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1012
    self showOthers ifFalse:[
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1013
        newList := newList reject:[:entry | entry isOther].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1014
    ].
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1015
    self showDebugCode ifFalse:[
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1016
        newList := newList reject:[:entry | entry isDebugCode].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1017
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1018
    self showMethodBreakpoints ifFalse:[
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1019
        newList := newList reject:[:entry | entry isMethodBreakpoint].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1020
    ].
12008
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1021
    self showLineBreakpoints ifFalse:[
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1022
        newList := newList reject:[:entry | entry isLineBreakpoint].
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1023
    ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1024
    self showAssertions ifFalse:[
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1025
        newList := newList reject:[:entry | entry isAssertion].
12526
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
  1026
    ] ifTrue:[
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
  1027
        self showAssertionsInTests ifFalse:[
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
  1028
            newList := newList reject:[:entry | |cls|
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
  1029
                                                entry isAssertion
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
  1030
                                                and:[ (entry selector startsWith:'test')
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
  1031
                                                and:[ (cls := Smalltalk classNamed: entry className) notNil
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
  1032
                                                      and:[ cls theNonMetaclass isTestCaseLike ]]]].
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
  1033
        ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1034
    ].
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1035
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1036
    self showHalts ifFalse:[
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1037
        newList := newList reject:[:entry | entry isHalt].
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1038
    ] ifTrue:[
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1039
        showWhichHalt := showWhichHaltsHolder value.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1040
        showWhichHalt ~~ #all ifTrue:[  
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1041
            newList := newList reject:[:entry | 
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1042
                entry isHalt
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1043
                and:[
9079
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1044
                    |showInList isIgnored info|
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1045
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1046
                    entry ignoredInfo:nil.
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1047
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1048
                    showInList := true.
9079
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1049
                    info := Debugger haltIgnoreInformationFor:(entry method) atLineNr:(entry lineNumber).
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1050
                    isIgnored := info notNil and:[ info isHaltIgnored ].
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1051
                    showWhichHalt == #ignored ifTrue:[
9079
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1052
                        showInList := isIgnored.
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1053
                        isIgnored ifTrue:[ entry ignoredInfo:info haltIgnoredInfoString ].
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1054
                    ] ifFalse:[
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1055
                        showInList := isIgnored not
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1056
                    ].
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1057
                    showInList not]
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1058
            ].
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1059
        ].
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1060
    ].
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1061
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1062
    self showCodeBreakpoints ifFalse:[
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1063
        newList := newList reject:[:entry | entry isCodeBreakpoint].
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1064
    ] ifTrue:[
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1065
        newList := newList reject:[:entry |
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1066
                                |flag|
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1067
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1068
                                flag := (showCodeBreakpointsFor at:(entry arg ? '<nil>') ifAbsentPut:[true asValue]) value.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1069
                                entry isCodeBreakpoint
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1070
                                and:[ flag not ]
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1071
                           ].
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1072
    ].
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1073
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1074
    shownCopyOfBreakpointList contents:newList.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1075
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1076
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1077
messageSelectors
11744
e450cce01e34 changed: #messageSelectors
Stefan Vogel <sv@exept.de>
parents: 11211
diff changeset
  1078
    ^ self messagesAndTypes collect:[:each | each first] as:Set.
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1079
!
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1080
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1081
update:something with:aParameter from:changedObject
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1082
    changedObject == Smalltalk ifTrue:[
9092
6bd5d66d58cf changed:
Claus Gittinger <cg@exept.de>
parents: 9080
diff changeset
  1083
        self enqueueDelayedUpdate:something with:aParameter from:changedObject.
6bd5d66d58cf changed:
Claus Gittinger <cg@exept.de>
parents: 9080
diff changeset
  1084
        ^ self.
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1085
    ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1086
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1087
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1088
updateBreakpointList
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1089
    |newShowCodeBreakpointsFor messages messageSelectors update |
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
    breakpointList removeAll.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1092
    newShowCodeBreakpointsFor := Dictionary new.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1093
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1094
    messages := self messagesAndTypes.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1095
    messageSelectors := self messageSelectors.
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1096
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1097
    update := [:cls :mthd :sel |
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1098
        self
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1099
            withBreakpointListEntriesFor:mthd class:cls selector:sel 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1100
            messages:messages
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1101
            messageSelectors:messageSelectors
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1102
            rememberingCodeBreakpointTypesIn:newShowCodeBreakpointsFor
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1103
            do:[:newEntry | breakpointList add:newEntry ].
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
    Smalltalk allClassesDo:[:cls |
8302
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
  1107
        cls selectorsAndMethodsDo:[:sel :mthd |
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
  1108
            update value:cls value:mthd value:sel
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
  1109
        ].
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
  1110
        cls class selectorsAndMethodsDo:[:sel :mthd |
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
  1111
            update value:cls class value:mthd value:sel
7e1f250578ff speedup
Claus Gittinger <cg@exept.de>
parents: 8249
diff changeset
  1112
        ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1113
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1114
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1115
    showCodeBreakpointsFor := newShowCodeBreakpointsFor.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1116
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1117
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1118
updateCode
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1119
    |entry method class|
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1120
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1121
    entry := self selectedBreakpointListEntry.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1122
    entry isNil ifTrue:[
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1123
        codeView contents:nil.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1124
        ^ self
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1125
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1126
    method := entry method.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1127
    method isNil ifTrue:[
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1128
        codeView contents:'OOPS - no source found'.
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1129
    ] ifFalse:[
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1130
        codeView contents:(method source).
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1131
        entry lineNumber notNil ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1132
            codeView cursorLine:entry lineNumber col:1.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1133
            codeView selectLine:entry lineNumber.
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1134
        ] ifFalse:[
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1135
            self breakPoint:#cg.
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1136
        ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1137
        codeView 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1138
            acceptAction:[:newText |
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1139
                class := method mclass ? (Smalltalk classNamed:entry className).
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1140
                class 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1141
                    compilerClass
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1142
                        compile:newText asString
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1143
                        forClass:class
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1144
                        inCategory:method category
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1145
                        notifying:codeView.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1146
            ]
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1147
    ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1148
!
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1149
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1150
updateEntry:entry
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1151
    "after a change, update the list entry.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1152
     (or remove it if required)"
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1153
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1154
    |mthd cls sel newShowCodeBreakpointsFor any|
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1155
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1156
    newShowCodeBreakpointsFor := Dictionary new.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1157
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1158
    breakpointList remove:entry ifAbsent:[].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1159
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1160
    mthd := entry method.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1161
    cls := Smalltalk classNamed:entry className.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1162
    sel := entry selector.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1163
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1164
    any := false.    
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1165
    self
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1166
        withBreakpointListEntriesFor:mthd class:cls selector:sel 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1167
        messages:(self messagesAndTypes)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1168
        messageSelectors:(self messageSelectors)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1169
        rememberingCodeBreakpointTypesIn:newShowCodeBreakpointsFor
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1170
        do:[:newEntry |
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1171
            any := true.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1172
            breakpointList add:newEntry. 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1173
        ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1174
!
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1175
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1176
updateForClass:aClass selector:selector
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1177
    |selectionIndexBefore mthd affectedEntries newShowCodeBreakpointsFor|
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1178
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1179
    selectionIndexBefore := selectionIndexHolder value.    
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1180
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1181
    affectedEntries := breakpointList select:[:entry |
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1182
                            entry selector = selector
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1183
                            and:[ entry className = aClass name ]
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1184
                       ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1185
    affectedEntries do:[:eachEntry |
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1186
        breakpointList remove:eachEntry ifAbsent:[].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1187
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1188
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1189
    mthd := aClass compiledMethodAt:selector.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1190
    mthd notNil ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1191
        newShowCodeBreakpointsFor := Dictionary new.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1192
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1193
        self
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1194
            withBreakpointListEntriesFor:mthd class:aClass selector:selector 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1195
            messages:(self messagesAndTypes)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1196
            messageSelectors:(self messageSelectors)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1197
            rememberingCodeBreakpointTypesIn:newShowCodeBreakpointsFor
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1198
            do:[:newEntry |
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1199
                breakpointList add:newEntry. 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1200
            ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1201
    ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1202
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1203
    self updateShownBreakpointList.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1204
    self selectionIndexHolder value:selectionIndexBefore.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1205
    self updateCode
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1206
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1207
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1208
updateList
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1209
    updateProcess notNil ifTrue:[^ self ].
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1210
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1211
    self updatingLabelShown value:true.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1212
    "/ cg: mhmh why is this needed ????
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1213
    Delay waitForSeconds:0.1.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1214
    self windowGroup repairDamage.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1215
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1216
    updateProcess := 
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1217
        [
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1218
            [
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1219
                ActivityNotification handle:[:ex |
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1220
                    self infoHolder value:ex errorString.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1221
                    self windowGroup processExposeEvents.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1222
                    ex proceed.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1223
                ] do:[
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1224
                    self updateBreakpointList.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1225
                    self updateShownBreakpointList.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1226
                ]
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1227
            ] ensure:[
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1228
                updateProcess := nil.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1229
                self updatingLabelShown value:false.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1230
            ].
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1231
        ] newProcess.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1232
    updateProcess resume.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1233
!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1234
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1235
updateShownBreakpointList
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1236
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1237
    self shownCopyOfBreakpointList contents:breakpointList.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1238
    self filter.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1239
    self resort.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1240
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1241
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1242
!
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1243
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1244
withBreakpointListEntriesFor:mthd class:cls selector:sel 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1245
    messages:messages
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1246
    messageSelectors:messageSelectors
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1247
    rememberingCodeBreakpointTypesIn:newShowCodeBreakpointsFor
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1248
    do:aBlock 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1249
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1250
    |entry type messagesSent showWhichHalt|
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1251
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1252
    showWhichHalt := self showWhichHaltsHolder value.
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1253
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1254
    mthd isWrapped ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1255
        mthd isBreakpointed ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1256
            type := #trap
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1257
        ] ifFalse:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1258
            mthd isTraced ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1259
                type := #trace
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1260
            ] ifFalse:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1261
                type := #probe
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1262
            ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1263
        ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1264
        entry := BreakpointListEntry new.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1265
        entry
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1266
            type:#wrap
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1267
            arg:type
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1268
            className:cls name
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1269
            selector:sel
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1270
            lineNumber:nil
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1271
            info:nil
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1272
            enabled:true.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1273
        aBlock value:entry 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1274
    ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1275
12008
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1276
    (mthd literalsDetect:[:lit | 
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1277
        (messageSelectors includes:lit)
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1278
        or:[lit class == Breakpoint]
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1279
    ] ifNone:nil) notNil ifTrue:[
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1280
        messagesSent := mthd messagesSent.
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1281
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1282
        messages pairsDo:[:bpSel :type|
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1283
            |tree extractor|
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1284
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1285
            "/ used to be (mthd sends:bpSel);
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1286
            "/ however, the sends requires an expensive parse of the methods source
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1287
            "/ to fetch all message selectors. This should be done only once,
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1288
            "/ and not for every selector we look for)
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1289
            (messagesSent includesIdentical:bpSel) ifTrue:[
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1290
                tree := RBParser 
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1291
                    parseMethod:mthd source
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1292
                    onError:[:aString :pos | 
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1293
                        ('BreakPointBrowser [info]: error while parsing "%1": %2'
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1294
                            bindWith:mthd whoString with:aString) infoPrintCR.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1295
                        nil
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1296
                    ].
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1297
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1298
                tree isNil ifTrue:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1299
                    entry := BreakpointListEntry new.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1300
                    entry
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1301
                        type:type
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1302
                        arg:nil
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1303
                        className:cls name
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1304
                        selector:sel
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1305
                        lineNumber:nil
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1306
                        info:nil
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1307
                        enabled:true.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1308
                    aBlock value:entry 
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1309
                ] ifFalse:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1310
                    extractor := MessageArgumentExtractor new.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1311
                    extractor selectorToSearch:bpSel.
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1312
                    extractor 
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1313
                        callBack:[:lineNo :argument :infoMessage |
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1314
                            |showIt isIgnored|
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1315
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1316
                            argument notNil ifTrue:[
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1317
                                newShowCodeBreakpointsFor
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1318
                                    at:argument
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1319
                                    put:(showCodeBreakpointsFor
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1320
                                            at:argument
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1321
                                            ifAbsent:[true asValue])
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1322
                            ].
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1323
                            entry := BreakpointListEntry new.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1324
                            entry
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1325
                                type:type
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1326
                                arg:argument
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1327
                                className:cls name
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1328
                                selector:sel
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1329
                                lineNumber:lineNo
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1330
                                info:infoMessage
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1331
                                enabled:true.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1332
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1333
                            aBlock value:entry 
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1334
                        ].
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1335
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1336
                    tree acceptVisitor:extractor.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1337
                ]
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1338
            ].
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1339
        ].
12008
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1340
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1341
        mthd literalsDo:[:lit | 
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1342
            lit class == Breakpoint ifTrue:[
12012
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
  1343
                entry := BreakpointListEntryForLineBreak new.
12008
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1344
                entry
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1345
                    type:#line
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1346
                    arg:nil
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1347
                    className:cls name
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1348
                    selector:sel
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1349
                    lineNumber:(lit line)
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1350
                    info:nil
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1351
                    enabled:true.
12012
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
  1352
                entry breakPoint:lit.
12008
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1353
                aBlock value:entry 
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1354
            ]
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1355
        ].        
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1356
    ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1357
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1358
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1359
!BreakpointBrowser methodsFor:'initialization & release'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1360
12009
9d2c3ebb1a2d honor the codeView/codeView2 setting
Claus Gittinger <cg@exept.de>
parents: 12008
diff changeset
  1361
codeViewClass
12018
508304bbb86b comment/format in: #codeViewClass
Claus Gittinger <cg@exept.de>
parents: 12017
diff changeset
  1362
    "the type of codeview to use"
508304bbb86b comment/format in: #codeViewClass
Claus Gittinger <cg@exept.de>
parents: 12017
diff changeset
  1363
12009
9d2c3ebb1a2d honor the codeView/codeView2 setting
Claus Gittinger <cg@exept.de>
parents: 12008
diff changeset
  1364
    ^ UserPreferences current useCodeView2
12016
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
  1365
        ifTrue:[ Tools::CodeView2 ]
12009
9d2c3ebb1a2d honor the codeView/codeView2 setting
Claus Gittinger <cg@exept.de>
parents: 12008
diff changeset
  1366
        ifFalse:[ CodeView ]
9d2c3ebb1a2d honor the codeView/codeView2 setting
Claus Gittinger <cg@exept.de>
parents: 12008
diff changeset
  1367
!
9d2c3ebb1a2d honor the codeView/codeView2 setting
Claus Gittinger <cg@exept.de>
parents: 12008
diff changeset
  1368
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1369
initialize
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1370
    super initialize.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1371
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1372
    showCodeBreakpointsFor := Dictionary new.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1373
    breakpointList := List new.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1374
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1375
    currentSortColumn := #type.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1376
    currentSortIsReverse := false.
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1377
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1378
    Smalltalk addDependent:self.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1379
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1380
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1381
postBuildCodeView:aView
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1382
    codeView := aView
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1383
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1384
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1385
postOpenWith:aBuilder
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1386
    super postOpenWith:aBuilder.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1387
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1388
    self enqueueMessage:#updateList for:self arguments:#().
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1389
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1390
    "Modified: / 18-02-2007 / 12:55:57 / cg"
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1391
!
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1392
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1393
release
8767
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1394
    |p|
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1395
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1396
    (p := updateProcess) notNil ifTrue:[
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1397
        updateProcess := nil.
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1398
        p terminate
00f1c865aaea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8530
diff changeset
  1399
    ].
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1400
    Smalltalk removeDependent:self.
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1401
    super release
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1402
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1403
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1404
!BreakpointBrowser methodsFor:'menu actions-item'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1405
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1406
browseItem
8362
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
  1407
    self withWaitCursorDo:[
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
  1408
        (self breakpointListEntryAtIndex:self selectionIndexHolder value) browse
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
  1409
    ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1410
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1411
9079
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1412
reenableHalt
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1413
    |entry|
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1414
11211
3b5ed0754639 changed: #reenableHalt
Claus Gittinger <cg@exept.de>
parents: 10853
diff changeset
  1415
    entry := self breakpointListEntryAtIndex:self selectionIndexHolder value.
3b5ed0754639 changed: #reenableHalt
Claus Gittinger <cg@exept.de>
parents: 10853
diff changeset
  1416
    Debugger 
3b5ed0754639 changed: #reenableHalt
Claus Gittinger <cg@exept.de>
parents: 10853
diff changeset
  1417
        ignoreHaltIn:(entry method) 
3b5ed0754639 changed: #reenableHalt
Claus Gittinger <cg@exept.de>
parents: 10853
diff changeset
  1418
        at:(entry lineNumber) 
3b5ed0754639 changed: #reenableHalt
Claus Gittinger <cg@exept.de>
parents: 10853
diff changeset
  1419
        forCount:nil orTimeDuration:nil orUntilShiftKey:false.
9079
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1420
    self updateShownBreakpointList
11211
3b5ed0754639 changed: #reenableHalt
Claus Gittinger <cg@exept.de>
parents: 10853
diff changeset
  1421
3b5ed0754639 changed: #reenableHalt
Claus Gittinger <cg@exept.de>
parents: 10853
diff changeset
  1422
    "Modified: / 27-01-2012 / 11:34:11 / cg"
9079
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1423
!
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1424
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1425
removeItem
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1426
    breakpointList remove:(self selectedBreakpointListEntry)
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1427
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1428
    "Created: / 22-10-2006 / 10:45:52 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1429
    "Modified: / 18-02-2007 / 12:57:58 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1430
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1431
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1432
!BreakpointBrowser methodsFor:'menus-dynamic'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1433
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1434
codeBreakpointMenu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1435
    <resource: #programMenu >
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1436
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1437
    |breakpointArgs menu|
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1438
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1439
    breakpointArgs := Set new.
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1440
    breakpointList
8859
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1441
                        select:[:entry | entry arg notNil]
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1442
                        thenDo:[:entry | breakpointArgs add:entry arg].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1443
    (breakpointList contains:[:entry | entry arg isNil]) ifTrue:[
8859
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1444
        breakpointArgs add:'<nil>'.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1445
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1446
    breakpointArgs := breakpointArgs asSortedCollection.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1447
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1448
    menu := Menu new.
8859
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1449
    menu addItem:(
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1450
            MenuItem new
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1451
                label:'Toggle All';
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1452
                translateLabel:true;
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1453
                hideMenuOnActivated:false;
11788
063a9c415a06 menuitem protocol
Claus Gittinger <cg@exept.de>
parents: 11744
diff changeset
  1454
                itemValue:[
063a9c415a06 menuitem protocol
Claus Gittinger <cg@exept.de>
parents: 11744
diff changeset
  1455
                    showCodeBreakpointsFor do:[:each |
063a9c415a06 menuitem protocol
Claus Gittinger <cg@exept.de>
parents: 11744
diff changeset
  1456
                        each value:(each value not)
063a9c415a06 menuitem protocol
Claus Gittinger <cg@exept.de>
parents: 11744
diff changeset
  1457
                    ]
063a9c415a06 menuitem protocol
Claus Gittinger <cg@exept.de>
parents: 11744
diff changeset
  1458
                ]).
8859
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1459
    menu addSeparator.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1460
8859
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1461
    breakpointArgs do:[:arg|
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1462
        | menuItem |
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1463
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1464
        menuItem := MenuItem new.
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1465
        menuItem label:arg.
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1466
        menuItem translateLabel:false.
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1467
        menuItem indication:(showCodeBreakpointsFor at:arg ifAbsentPut:[true asValue]).
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1468
        menuItem hideMenuOnActivated:false.
11788
063a9c415a06 menuitem protocol
Claus Gittinger <cg@exept.de>
parents: 11744
diff changeset
  1469
        menuItem 
063a9c415a06 menuitem protocol
Claus Gittinger <cg@exept.de>
parents: 11744
diff changeset
  1470
            itemValue:[:onOff |
063a9c415a06 menuitem protocol
Claus Gittinger <cg@exept.de>
parents: 11744
diff changeset
  1471
                (showCodeBreakpointsFor at:arg ifAbsentPut:[true asValue]) value:onOff.
063a9c415a06 menuitem protocol
Claus Gittinger <cg@exept.de>
parents: 11744
diff changeset
  1472
                self updateShownBreakpointList
063a9c415a06 menuitem protocol
Claus Gittinger <cg@exept.de>
parents: 11744
diff changeset
  1473
            ].
8859
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1474
        menu addItem:menuItem.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1475
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1476
    menu findGuiResourcesIn:self.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1477
    ^ menu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1478
11788
063a9c415a06 menuitem protocol
Claus Gittinger <cg@exept.de>
parents: 11744
diff changeset
  1479
    "Modified (format): / 09-09-2012 / 13:11:14 / cg"
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1480
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1481
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1482
enabledCodeBreakpointMenu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1483
    <resource: #programMenu >
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1484
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1485
    |breakpointArgs menu enabledCodeBreakpointHolders|
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1486
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1487
    enabledCodeBreakpointHolders := Dictionary new.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1488
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1489
    breakpointArgs := Set new.
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1490
    breakpointList
8858
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1491
        select:[:entry | entry arg notNil]
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1492
        thenDo:[:entry | breakpointArgs add:entry arg].
8859
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1493
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1494
    (breakpointList contains:[:entry | entry arg isNil]) ifTrue:[
8858
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1495
        breakpointArgs add:'<nil>'.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1496
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1497
    breakpointArgs := breakpointArgs asSortedCollection.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1498
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1499
    menu := Menu new.
8859
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1500
    menu addItem:(
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1501
            MenuItem new
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1502
                label:'Toggle All';
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1503
                translateLabel:true;
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1504
                hideMenuOnActivated:false;
11788
063a9c415a06 menuitem protocol
Claus Gittinger <cg@exept.de>
parents: 11744
diff changeset
  1505
                itemValue:[
9614
1f2c844d482a changed: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 9335
diff changeset
  1506
                        enabledCodeBreakpointHolders keysAndValuesDo:[:arg :each |
1f2c844d482a changed: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 9335
diff changeset
  1507
                            each value:(each value not).
1f2c844d482a changed: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 9335
diff changeset
  1508
                            each value ifTrue:[
1f2c844d482a changed: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 9335
diff changeset
  1509
                                Object enableBreakPoint:arg
1f2c844d482a changed: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 9335
diff changeset
  1510
                            ] ifFalse:[
1f2c844d482a changed: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 9335
diff changeset
  1511
                                Object disableBreakPoint:arg
1f2c844d482a changed: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 9335
diff changeset
  1512
                            ].
8859
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1513
                        ]
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1514
                      ]).
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1515
    menu addSeparator.
ea979fe04ab7 changed:
Claus Gittinger <cg@exept.de>
parents: 8858
diff changeset
  1516
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1517
    breakpointArgs do:[:arg|
8858
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1518
        | menuItem |
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1519
8858
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1520
        menuItem := MenuItem new.
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1521
        menuItem label:arg.
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1522
        menuItem translateLabel:false.
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1523
        menuItem indication:(enabledCodeBreakpointHolders at:arg ifAbsentPut:[ (Object isBreakPointEnabled:arg) asValue ]).
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1524
        menuItem hideMenuOnActivated:false.
11788
063a9c415a06 menuitem protocol
Claus Gittinger <cg@exept.de>
parents: 11744
diff changeset
  1525
        menuItem itemValue:[:onOff |
8858
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1526
            (enabledCodeBreakpointHolders at:arg ifAbsentPut:[(Object isBreakPointEnabled:arg) asValue]) value:onOff.
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1527
            onOff ifFalse:[
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1528
                Object disableBreakPoint:arg
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1529
            ] ifTrue:[
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1530
                Object enableBreakPoint:arg
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1531
            ].
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1532
        ].
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1533
        menu addItem:menuItem.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1534
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1535
    menu findGuiResourcesIn:self.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1536
    ^ menu
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1537
11788
063a9c415a06 menuitem protocol
Claus Gittinger <cg@exept.de>
parents: 11744
diff changeset
  1538
    "Modified: / 09-09-2012 / 13:11:30 / cg"
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1539
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1540
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1541
!BreakpointBrowser methodsFor:'tests'!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1542
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1543
aMethodWith_assert
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1544
    "only here for demonstration purposes - should be found in the list"
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1545
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1546
    self assert:(3 > 4)
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1547
!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1548
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1549
aMethodWith_assert2
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1550
    "only here for demonstration purposes - should be found in the breakpoint browser''s list"
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1551
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1552
    self assert:(3 > 4) message:'well - that ought to work'
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1553
!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1554
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1555
aMethodWith_breakPoint
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1556
    "only here for demonstration purposes - should be found in the breakpoint browser''s list"
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1557
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1558
    self breakPoint:#cg
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1559
!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1560
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1561
aMethodWith_breakPoint2
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1562
    "only here for demonstration purposes - should be found in the breakpoint browser''s list"
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1563
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1564
    self breakPoint:#cg info:'hello there'
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1565
!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1566
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1567
aMethodWith_debugCode
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1568
    "only here for demonstration purposes - should be found in the breakpoint browser''s list"
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1569
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1570
    self 
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1571
        debuggingCodeFor:#cg
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1572
        is:[
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1573
            self bla.
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1574
            Transcript show:'some debug prints here'
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1575
        ].
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1576
!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1577
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1578
aMethodWith_halt
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1579
    "only here for demonstration purposes - should be found in the breakpoint browser''s list"
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1580
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1581
    self halt
9080
dca24ca8a31f comment/format in: #aMethodWith_halt
Claus Gittinger <cg@exept.de>
parents: 9079
diff changeset
  1582
dca24ca8a31f comment/format in: #aMethodWith_halt
Claus Gittinger <cg@exept.de>
parents: 9079
diff changeset
  1583
    "after the first halt, in the debugger, ignore this halt for some time and see what
dca24ca8a31f comment/format in: #aMethodWith_halt
Claus Gittinger <cg@exept.de>
parents: 9079
diff changeset
  1584
     the breakpoint browser shows...
dca24ca8a31f comment/format in: #aMethodWith_halt
Claus Gittinger <cg@exept.de>
parents: 9079
diff changeset
  1585
dca24ca8a31f comment/format in: #aMethodWith_halt
Claus Gittinger <cg@exept.de>
parents: 9079
diff changeset
  1586
     10 timesRepeat:[
dca24ca8a31f comment/format in: #aMethodWith_halt
Claus Gittinger <cg@exept.de>
parents: 9079
diff changeset
  1587
        self new aMethodWith_halt
dca24ca8a31f comment/format in: #aMethodWith_halt
Claus Gittinger <cg@exept.de>
parents: 9079
diff changeset
  1588
     ].
dca24ca8a31f comment/format in: #aMethodWith_halt
Claus Gittinger <cg@exept.de>
parents: 9079
diff changeset
  1589
    "
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1590
!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1591
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1592
aMethodWith_halt2
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1593
    "only here for demonstration purposes - should be found in the breakpoint browser''s list"
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1594
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1595
    self halt:'some message'
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1596
!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1597
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1598
aMethodWith_todo
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1599
    "only here for demonstration purposes - should be found in the breakpoint browser''s list"
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1600
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1601
    self todo
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1602
! !
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1603
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1604
!BreakpointBrowser methodsFor:'user actions'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1605
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1606
browseSelectedItem
8362
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
  1607
    self withWaitCursorDo:[
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
  1608
        (self selectedBreakpointListEntry) browse
1e7ce1305522 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8357
diff changeset
  1609
    ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1610
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1611
    "Created: / 22-10-2006 / 01:49:13 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1612
    "Modified: / 18-02-2007 / 12:56:30 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1613
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1614
12012
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
  1615
disableLineBreak
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
  1616
    (self selectedBreakpointListEntry) breakPoint disable
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
  1617
!
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
  1618
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1619
itemDoubleClicked:itemIndex
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1620
    self browseSelectedItem
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1621
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1622
    "Created: / 22-10-2006 / 01:49:13 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1623
    "Modified: / 18-02-2007 / 12:56:30 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1624
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1625
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1626
openClassFilterDialog
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1627
    |nameOrPattern|
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1628
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1629
    nameOrPattern := Dialog 
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1630
                        requestClassName:'Only show breakpoints for class(es) matching (empty to show all):'
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1631
                        initialAnswer:(classNameFilter ? '*').
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1632
    nameOrPattern isNil ifTrue:[^ self].    "/ cancel
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1633
    (nameOrPattern isEmpty or:[nameOrPattern = '*']) ifTrue:[
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1634
        classNameFilter := nil.
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1635
    ] ifFalse:[    
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1636
        classNameFilter := nameOrPattern.
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1637
    ].
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1638
    self updateShownBreakpointList
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1639
!
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1640
12016
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
  1641
openDocumentation
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
  1642
    HTMLDocumentView openFullOnDocumentationFile:'tools/misc/TOP.html#BREAKPOINTLIST'.
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
  1643
!
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
  1644
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1645
openPackageFilterDialog
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1646
    |nameOrPattern|
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1647
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1648
    nameOrPattern := Dialog 
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1649
                        request:'Only show breakpoints for code in package(s) matching (empty to show all):'
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1650
                        list:(Smalltalk allProjectIDs)
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1651
                        initialAnswer:(packageFilter ? '*').
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1652
    nameOrPattern isNil ifTrue:[^ self].    "/ cancel
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1653
    (nameOrPattern isEmpty or:[nameOrPattern = '*']) ifTrue:[
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1654
        packageFilter := nil.
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1655
    ] ifFalse:[    
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1656
        packageFilter := nameOrPattern.
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1657
    ].
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1658
    self updateShownBreakpointList
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1659
!
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1660
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1661
resort
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1662
    |sortBlock sortBlock1|
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1663
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1664
    currentSortColumn isNil ifTrue:[^ self ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1665
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1666
    sortBlock := sortBlock1 := [:a :b |
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1667
				    |vA vB|
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1668
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1669
				    vA := (a perform:currentSortColumn).
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1670
				    vB := (b perform:currentSortColumn).
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1671
				    vA = vB ifTrue:[
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1672
					currentSortColumn == #type ifTrue:[
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1673
					    vA := a arg.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1674
					    vB := b arg.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1675
					    vA = vB ifTrue:[
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1676
						vA := a className.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1677
						vB := b className.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1678
						vA = vB ifTrue:[
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1679
						    vA := a selector.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1680
						    vB := b selector.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1681
						    vA = vB ifTrue:[
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1682
							vA := a lineNumber.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1683
							vB := b lineNumber.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1684
						    ]
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1685
						]
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1686
					    ]
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1687
					]
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1688
				    ].
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1689
				    (vA ? '') < (vB ? '')
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1690
			       ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1691
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1692
    currentSortIsReverse ifTrue:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1693
	sortBlock := [:a :b | (sortBlock1 value:a value:b) not ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1694
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1695
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1696
    "/ temporary hack - should make a copy of the real list
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1697
    self shownCopyOfBreakpointList sort:sortBlock
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1698
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1699
    "Created: / 25-10-2006 / 01:01:26 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1700
    "Modified: / 18-02-2007 / 13:02:19 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1701
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1702
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1703
sortBy:instanceName
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1704
    self sortBy:instanceName withReverse:true
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1705
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1706
    "Created: / 25-10-2006 / 00:53:55 / cg"
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1707
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1708
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1709
sortBy:instanceName withReverse:aBoolean
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1710
    |aSymbol|
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1711
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1712
    aSymbol := instanceName asSymbol.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1713
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1714
    currentSortColumn isNil ifTrue:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1715
	currentSortColumn := aSymbol.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1716
	currentSortIsReverse := false.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1717
    ] ifFalse:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1718
	currentSortColumn = aSymbol ifTrue:[
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1719
	    "/ same column like before - change sort order ifReverse is true
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1720
	    aBoolean ifTrue:[
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1721
		currentSortIsReverse := currentSortIsReverse not.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1722
	    ].
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1723
	] ifFalse:[
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1724
	    "/ another column - remark column
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1725
	    currentSortColumn := aSymbol.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1726
	]
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1727
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1728
    self resort.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1729
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1730
    "Created: / 25-10-2006 / 00:54:59 / cg"
12016
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
  1731
!
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
  1732
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
  1733
toggleAllShownTypes
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
  1734
    self showAssertions:(self showAssertions not).
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
  1735
    self showHalts:(self showHalts not).
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
  1736
    self showCodeBreakpoints:(self showCodeBreakpoints not).
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
  1737
    self showDebugCode:(self showDebugCode not).
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
  1738
    self showLineBreakpoints:(self showLineBreakpoints not).
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
  1739
    self showMethodBreakpoints:(self showMethodBreakpoints not).
3e3d4015fd7b added: #toggleAllShownTypes
Claus Gittinger <cg@exept.de>
parents: 12012
diff changeset
  1740
    self showOthers:(self showOthers not).
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1741
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1742
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1743
!BreakpointBrowser::BreakpointListEntry methodsFor:'accessing'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1744
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1745
arg
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1746
    ^ arg
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1747
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1748
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1749
className
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1750
    ^ className
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1751
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1752
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1753
enabled
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1754
    ^ enabled
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1755
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1756
9079
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1757
ignoredInfo
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1758
    ^ ignoredInfo
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1759
!
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1760
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1761
ignoredInfo:something
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1762
    ignoredInfo := something.
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1763
!
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1764
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1765
info
9079
Claus Gittinger <cg@exept.de>
parents: 9077
diff changeset
  1766
    ^ ignoredInfo ? info
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1767
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1768
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1769
isIgnored
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1770
    type == #halt ifTrue:[
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1771
        (Debugger haltIgnoreInformationFor:self method atLineNr:lineNumber)
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1772
            notNil ifTrue:[^ 'Yes'].
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1773
    ].
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1774
    ^ ''
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1775
!
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1776
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1777
lineNumber
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1778
    ^ lineNumber
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1779
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1780
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1781
selector
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1782
    ^ selector
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1783
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1784
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1785
type
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1786
    ^ type
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1787
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1788
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1789
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
  1790
    type := typeArg.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1791
    arg := argArg.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1792
    className := classNameArg.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1793
    selector := selectorArg.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1794
    lineNumber := lineNumberArg.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1795
    info := infoArg.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1796
    enabled := enabledArg.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1797
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1798
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1799
!BreakpointBrowser::BreakpointListEntry methodsFor:'actions'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1800
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1801
browse
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1802
    |browser|
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1803
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1804
    browser := UserPreferences systemBrowserClass
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1805
	openInClass:(Smalltalk classNamed:className) selector:selector.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1806
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1807
    lineNumber notNil ifTrue:[
8241
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1808
	browser codeView cursorLine:lineNumber col:1.
ea82422336bb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8234
diff changeset
  1809
	browser codeView selectLine:lineNumber.
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1810
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1811
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1812
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1813
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1814
method
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1815
    ^ (Smalltalk classNamed:className) compiledMethodAt:selector.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1816
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1817
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1818
!BreakpointBrowser::BreakpointListEntry methodsFor:'queries'!
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1819
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1820
relatedToClass:aClassNamePattern
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1821
    className isNil ifTrue:[^ true].
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1822
    (aClassNamePattern includesMatchCharacters) ifTrue:[
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1823
         ^ aClassNamePattern match: className
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1824
    ].
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1825
    ^ className startsWith:aClassNamePattern
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1826
!
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1827
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1828
relatedToPackage:aPackagePattern
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1829
    |package|
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1830
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1831
    package := self method package.
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1832
    (aPackagePattern includesMatchCharacters) ifTrue:[
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1833
         ^ aPackagePattern match: package
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1834
    ].
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1835
    ^ package startsWith:aPackagePattern
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1836
! !
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1837
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1838
!BreakpointBrowser::BreakpointListEntry methodsFor:'testing'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1839
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1840
isAssertion
12020
Claus Gittinger <cg@exept.de>
parents: 12019
diff changeset
  1841
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1842
    ^ type == #assertion
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1843
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1844
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1845
isCodeBreakpoint
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1846
    ^ type == #breakPoint
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1847
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1848
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1849
isDebugCode
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1850
    ^ type == #debugCode
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1851
!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1852
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1853
isHalt
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1854
    ^ type == #halt
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1855
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1856
12008
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1857
isLineBreakpoint
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1858
    ^ type == #line
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1859
!
a2ca11e42ad2 updated to also include line breaks as per Jan's codeView2
Claus Gittinger <cg@exept.de>
parents: 11788
diff changeset
  1860
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1861
isMethodBreakpoint
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1862
    ^ type == #wrap
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1863
!
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1864
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1865
isOther
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1866
    ^ type == #other
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1867
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1868
12012
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
  1869
!BreakpointBrowser::BreakpointListEntryForLineBreak methodsFor:'accessing'!
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
  1870
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
  1871
breakPoint
12019
Claus Gittinger <cg@exept.de>
parents: 12018
diff changeset
  1872
    "return the BreakPoint-instance"
Claus Gittinger <cg@exept.de>
parents: 12018
diff changeset
  1873
12012
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
  1874
    ^ breakPoint
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
  1875
!
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
  1876
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
  1877
breakPoint:something
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
  1878
    breakPoint := something.
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
  1879
! !
Claus Gittinger <cg@exept.de>
parents: 12009
diff changeset
  1880
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1881
!BreakpointBrowser::MessageArgumentExtractor methodsFor:'accessing'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1882
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1883
callBack:something
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1884
    callBack := something.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1885
!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1886
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1887
selectorToSearch:something
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1888
    selectorToSearch := something.
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1889
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1890
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1891
!BreakpointBrowser::MessageArgumentExtractor methodsFor:'visiting'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1892
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1893
acceptMessageNode: aMessageNode
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1894
    |arg1Node arg1 arg2Node arg2 argument infoMessage|
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1895
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1896
    aMessageNode selector == selectorToSearch ifTrue:[
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1897
        aMessageNode arguments size > 0 ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1898
            arg1Node := aMessageNode arguments first.
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1899
            arg1Node isLiteral ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1900
                arg1 := arg1Node value.
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1901
            ] ifFalse:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1902
                arg1 := '(...)'.
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1903
            ].
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1904
            aMessageNode arguments size > 1 ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1905
                arg2Node := aMessageNode arguments second.
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1906
                arg2Node isLiteral ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1907
                    arg2 := arg2Node value.
8365
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1908
                ] ifFalse:[
a61926c8f65c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8362
diff changeset
  1909
                    arg2 := '(...)'.
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1910
                ].
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1911
            ].
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1912
        ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1913
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1914
        selectorToSearch == #halt: ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1915
            infoMessage := arg1.
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1916
        ].
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1917
        selectorToSearch == #breakPoint: ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1918
            argument := arg1.
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1919
        ].
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1920
        selectorToSearch == #breakPoint:info: ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1921
            argument := arg1.
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1922
            infoMessage := arg2.
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1923
        ].
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1924
        selectorToSearch == #debuggingCodeFor:is: ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1925
            argument := arg1.
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1926
        ].
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1927
        selectorToSearch == #assert: ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1928
        ].
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1929
        selectorToSearch == #assert:message: ifTrue:[
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1930
            infoMessage := arg2.
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1931
        ].
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1932
8354
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1933
        callBack
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1934
            value:aMessageNode firstLineNumber
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1935
            value:argument
9791dde64bd7 also show&handle debuggingCodeFor:is
Claus Gittinger <cg@exept.de>
parents: 8302
diff changeset
  1936
            value:infoMessage
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1937
    ].
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1938
    super acceptMessageNode: aMessageNode
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1939
! !
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1940
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1941
!BreakpointBrowser class methodsFor:'documentation'!
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1942
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1943
version
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1944
    ^ '$Header: /cvs/stx/stx/libtool/Tools__BreakpointBrowser.st,v 1.41 2013-03-28 15:00:28 cg Exp $'
8858
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1945
!
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1946
a03067b9d96c comment/format in: #enabledCodeBreakpointMenu
Claus Gittinger <cg@exept.de>
parents: 8767
diff changeset
  1947
version_CVS
12561
0766dc3e8079 class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12526
diff changeset
  1948
    ^ '$Header: /cvs/stx/stx/libtool/Tools__BreakpointBrowser.st,v 1.41 2013-03-28 15:00:28 cg Exp $'
8233
e2f89abb11d9 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1949
! !
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1950
12526
dc89c5a91cfc class: Tools::BreakpointBrowser
Claus Gittinger <cg@exept.de>
parents: 12022
diff changeset
  1951
9077
c936c0fc8ef4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9045
diff changeset
  1952
BreakpointBrowser initialize!