ControlInterrupt.st
author Jan Vrany <jan.vrany@labware.com>
Tue, 01 Jun 2021 20:19:13 +0100
branchjv
changeset 25424 51bd8a6b196f
parent 19811 65fec19facb0
permissions -rw-r--r--
Cherry-picked `Context` cherry-picked Context.st from a6b6dda4caff: * 4aaf30c174e9: #DOCUMENTATION by cg, Claus Gittinger <cg@exept.de> * c67311afcc6c: #OTHER by cg, Claus Gittinger <cg@exept.de> * 883f79e7b2a6: #FEATURE by cg, Claus Gittinger <cg@exept.de> * 716f3fbb09e9: Don't mark contexts with `CATCHMARK`, Jan Vrany <jan.vrany@fit.cvut.cz> * cff24fa817b0: #REFACTORING by stefan, Stefan Vogel <sv@exept.de> * 521f0d837330: #UI_ENHANCEMENT by cg, Claus Gittinger <cg@exept.de> * bf1118f0fcca: #UI_ENHANCEMENT by cg, Claus Gittinger <cg@exept.de> * e587cdd22868: #BUGFIX by cg, Claus Gittinger <cg@exept.de> * fe9f9487a3ed: #DOCUMENTATION by cg, Claus Gittinger <cg@exept.de> * d5b781899274: #BUGFIX by cg, Claus Gittinger <cg@exept.de> * 8258751a7465: #FEATURE by cg, Claus Gittinger <cg@exept.de> * 40173e082cbc: Copyright updates, Jan Vrany <jan.vrany@fit.cvut.cz> * 6db5c28207d5: #UI_ENHANCEMENT by cg, Claus Gittinger <cg@exept.de> * 871ea64fd5dc: #FEATURE by cg, Claus Gittinger <cg@exept.de> * 4b544a108e4e: #DOCUMENTATION by cg, Claus Gittinger <cg@exept.de> * 9a8d8399e566: #FEATURE by cgexept.de, Claus Gittinger <cg@exept.de> * 170b00be0103: #BUGFIX by stefan, Stefan Vogel <sv@exept.de> * a6c73965eae8: #FEATURE by cg, Claus Gittinger <cg@exept.de> * ce2a0e462ff0: #FEATURE by cg, Claus Gittinger <cg@exept.de> * 46a260a9ca92: #FEATURE by cg, Claus Gittinger <cg@exept.de> * 46cab49167fb: #UI_ENHANCEMENT by exept, Claus Gittinger <cg@exept.de> * 7d52dfd3997d: #DOCUMENTATION by exept, Claus Gittinger <cg@exept.de> * c52eeea62763: Fix `Context >> argAndVarNames` in cases when debug info is not available, Jan Vrany <jan.vrany@labware.com> * b5d6963fe4a9: Backed out changeset c52eeea62763, Jan Vrany <jan.vrany@labware.com> * 6fd3896f8703: #FEATURE by exept, Claus Gittinger <cg@exept.de> * b530ee616256: #REFACTORING by cg, Claus Gittinger <cg@exept.de> * ef9b481d7498: #FEATURE by cg, Claus Gittinger <cg@exept.de> * ea663b72bd51: #UI_ENHANCEMENT by cg, Claus Gittinger <cg@exept.de> * 6179572a733c: #FEATURE by exept, Claus Gittinger <cg@exept.de> * 84155b1b6622: #DOCUMENTATION by exept, Claus Gittinger <cg@exept.de> * 37d06602d856: *** empty log message ***, Claus Gittinger <cg@exept.de> * f927b9022fea: *** empty log message ***, Claus Gittinger <cg@exept.de> * 427d3be62d97: #UI_ENHANCEMENT by exept, Claus Gittinger <cg@exept.de>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7588
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
     1
"
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
     2
 COPYRIGHT (c) 2001 by eXept Software AG
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
     3
              All Rights Reserved
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
     4
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
     5
 This software is furnished under a license and may be used
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
     6
 only in accordance with the terms of that license and with the
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
     8
 be provided or otherwise made available to, or used by, any
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
     9
 other person.  No title to or ownership of the software is
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
    10
 hereby transferred.
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
    11
"
5970
9e695ff6b5b2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libbasic' }"
9e695ff6b5b2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
19709
57e2c3f97d18 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 15190
diff changeset
    14
"{ NameSpace: Smalltalk }"
57e2c3f97d18 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 15190
diff changeset
    15
7630
fced37c5cccc Undo previous change form cg (on his request!).
Stefan Vogel <sv@exept.de>
parents: 7626
diff changeset
    16
GenericException subclass:#ControlInterrupt
18057
8da7c39a6322 Merged ac63da6d9b6c and e58049d58d1d (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17911 15190
diff changeset
    17
    instanceVariableNames: ''
8da7c39a6322 Merged ac63da6d9b6c and e58049d58d1d (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17911 15190
diff changeset
    18
    classVariableNames: ''
8da7c39a6322 Merged ac63da6d9b6c and e58049d58d1d (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17911 15190
diff changeset
    19
    poolDictionaries: ''
8da7c39a6322 Merged ac63da6d9b6c and e58049d58d1d (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17911 15190
diff changeset
    20
    category: 'Kernel-Exceptions-Control'
5970
9e695ff6b5b2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!
9e695ff6b5b2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
6207
b53b64413b40 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 6200
diff changeset
    23
!ControlInterrupt class methodsFor:'documentation'!
b53b64413b40 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 6200
diff changeset
    24
7588
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
    25
copyright
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
    26
"
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
    27
 COPYRIGHT (c) 2001 by eXept Software AG
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
    28
              All Rights Reserved
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
    29
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
    30
 This software is furnished under a license and may be used
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
    31
 only in accordance with the terms of that license and with the
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
    33
 be provided or otherwise made available to, or used by, any
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
    34
 other person.  No title to or ownership of the software is
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
    35
 hereby transferred.
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
    36
"
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
    37
!
1819a1c408f3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7232
diff changeset
    38
6207
b53b64413b40 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 6200
diff changeset
    39
documentation
b53b64413b40 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 6200
diff changeset
    40
"
7232
1d05a293b8b0 comments
Claus Gittinger <cg@exept.de>
parents: 6207
diff changeset
    41
    Parent of all control-related interrupts (halt, breakpoint etc.)
19709
57e2c3f97d18 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 15190
diff changeset
    42
57e2c3f97d18 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 15190
diff changeset
    43
    [author:]
57e2c3f97d18 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 15190
diff changeset
    44
        Claus Gittinger
6207
b53b64413b40 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 6200
diff changeset
    45
"
b53b64413b40 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 6200
diff changeset
    46
! !
5970
9e695ff6b5b2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
18057
8da7c39a6322 Merged ac63da6d9b6c and e58049d58d1d (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17911 15190
diff changeset
    48
15190
88ce648f5e0b class: ControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 7630
diff changeset
    49
!ControlInterrupt class methodsFor:'initialization'!
88ce648f5e0b class: ControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 7630
diff changeset
    50
88ce648f5e0b class: ControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 7630
diff changeset
    51
initialize
88ce648f5e0b class: ControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 7630
diff changeset
    52
    NotifierString := 'control interrupted'.
88ce648f5e0b class: ControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 7630
diff changeset
    53
88ce648f5e0b class: ControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 7630
diff changeset
    54
    "
88ce648f5e0b class: ControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 7630
diff changeset
    55
     self initialize
88ce648f5e0b class: ControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 7630
diff changeset
    56
    "
88ce648f5e0b class: ControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 7630
diff changeset
    57
! !
88ce648f5e0b class: ControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 7630
diff changeset
    58
18057
8da7c39a6322 Merged ac63da6d9b6c and e58049d58d1d (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17911 15190
diff changeset
    59
6200
65f0631e5221 added #isControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 5970
diff changeset
    60
!ControlInterrupt class methodsFor:'testing'!
65f0631e5221 added #isControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 5970
diff changeset
    61
65f0631e5221 added #isControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 5970
diff changeset
    62
isControlInterrupt
65f0631e5221 added #isControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 5970
diff changeset
    63
    ^ true
65f0631e5221 added #isControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 5970
diff changeset
    64
65f0631e5221 added #isControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 5970
diff changeset
    65
    "Created: / 16.11.2001 / 16:11:11 / cg"
65f0631e5221 added #isControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 5970
diff changeset
    66
! !
65f0631e5221 added #isControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 5970
diff changeset
    67
18057
8da7c39a6322 Merged ac63da6d9b6c and e58049d58d1d (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17911 15190
diff changeset
    68
5970
9e695ff6b5b2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
!ControlInterrupt class methodsFor:'documentation'!
9e695ff6b5b2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
9e695ff6b5b2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
version
19709
57e2c3f97d18 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 15190
diff changeset
    72
    ^ '$Header$'
17865
598963c6ff8e Recommited from itself
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17846
diff changeset
    73
!
598963c6ff8e Recommited from itself
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17846
diff changeset
    74
598963c6ff8e Recommited from itself
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17846
diff changeset
    75
version_SVN
17911
a99f15c5efa5 Updated with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17910
diff changeset
    76
    ^ '$Id: ControlInterrupt.st 10761 2012-01-19 11:46:00Z vranyj1 $'
5970
9e695ff6b5b2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
! !
15190
88ce648f5e0b class: ControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 7630
diff changeset
    78
88ce648f5e0b class: ControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 7630
diff changeset
    79
88ce648f5e0b class: ControlInterrupt
Claus Gittinger <cg@exept.de>
parents: 7630
diff changeset
    80
ControlInterrupt initialize!