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