@@ -30,6 +30,7 @@ Class {
30
30
#name : ' StDebuggerSettings' ,
31
31
#superclass : ' Object' ,
32
32
#classVars : [
33
+ ' ForceDebuggerStackSelection' ,
33
34
' LastKnownPosition' ,
34
35
' PreserveWindowPosition'
35
36
],
@@ -38,13 +39,44 @@ Class {
38
39
#tag : ' Model'
39
40
}
40
41
42
+ { #category : ' accessing' }
43
+ StDebuggerSettings class >> defaultForceDebuggerStackSelection [
44
+ ^ false
45
+ ]
46
+
41
47
{ #category : ' accessing' }
42
48
StDebuggerSettings class >> defaultPosition [
43
49
44
50
^ 10 @ 10
45
51
46
52
]
47
53
54
+ { #category : ' accessing' }
55
+ StDebuggerSettings class >> forceDebuggerStackSelection [
56
+ " Force the stack to not select TestAsserter contexts by default"
57
+
58
+ ^ ForceDebuggerStackSelection
59
+ ifNil: [ ForceDebuggerStackSelection := self defaultForceDebuggerStackSelection ]
60
+ ]
61
+
62
+ { #category : ' accessing' }
63
+ StDebuggerSettings class >> forceDebuggerStackSelection: aBoolean [
64
+
65
+ ForceDebuggerStackSelection := aBoolean
66
+ ]
67
+
68
+ { #category : ' accessing' }
69
+ StDebuggerSettings class >> forceDebuggerStackSelectionSetting: aBuilder [
70
+ < systemsettings>
71
+
72
+ (aBuilder setting: #forceDebuggerStackSelection )
73
+ label: ' Force Debugger Stack Selection' ;
74
+ target: self ;
75
+ parent: #debugging ;
76
+ default: self defaultForceDebuggerStackSelection;
77
+ description: ' Force the stack to not select TestAsserter context by default' .
78
+ ]
79
+
48
80
{ #category : ' class initialization' }
49
81
StDebuggerSettings class >> initialize [
50
82
0 commit comments