@@ -70,8 +70,7 @@ class GraphicalDebuggerApp extends SimpleSubscriptApplication with ScriptDebugge
70
70
var ss : List [String ] = Nil
71
71
if (c != null ) {
72
72
if ( c.success != null ) ss ::= " Success"
73
- if (! c.aaEndeds .isEmpty) ss ::= " AA Ended"
74
- if (! c.aaStarteds .isEmpty) ss ::= " AA Started"
73
+ if (! c.aaHappeneds .isEmpty) ss ::= " AA Happened"
75
74
if (! c.deactivations.isEmpty) ss ::= " Deactivations"
76
75
if ( c.activation != null ) ss ::= " Activation"
77
76
}
@@ -84,8 +83,7 @@ class GraphicalDebuggerApp extends SimpleSubscriptApplication with ScriptDebugge
84
83
// "Activation "
85
84
// "Deactivation"
86
85
// "Continuation"
87
- // "AAStarted "
88
- // "AAEnded "
86
+ // "AAHappened "
89
87
// "Success "
90
88
// "Break "
91
89
// "Exclude "
@@ -94,8 +92,7 @@ class GraphicalDebuggerApp extends SimpleSubscriptApplication with ScriptDebugge
94
92
val checkBox_step_Activation = new CheckBox {text = " Act" ; selected = true }
95
93
val checkBox_step_Deactivation = new CheckBox {text = " Dea" ; selected = true }
96
94
val checkBox_step_Continuation = new CheckBox {text = " Cnt" ; selected = true }
97
- val checkBox_step_AAStarted = new CheckBox {text = " AAS" ; selected = true }
98
- val checkBox_step_AAEnded = new CheckBox {text = " AAE" ; selected = true }
95
+ val checkBox_step_AAHappened = new CheckBox {text = " AAH" ; selected = true }
99
96
val checkBox_step_Success = new CheckBox {text = " Scs" ; selected = true }
100
97
val checkBox_step_Break = new CheckBox {text = " Brk" ; selected = true }
101
98
val checkBox_step_Exclude = new CheckBox {text = " Exc" ; selected = true }
@@ -104,8 +101,7 @@ class GraphicalDebuggerApp extends SimpleSubscriptApplication with ScriptDebugge
104
101
val checkBox_log_Activation = new CheckBox {text = " Act" ; selected = true }
105
102
val checkBox_log_Deactivation = new CheckBox {text = " Dea" ; selected = true }
106
103
val checkBox_log_Continuation = new CheckBox {text = " Cnt" ; selected = true }
107
- val checkBox_log_AAStarted = new CheckBox {text = " AAS" ; selected = true }
108
- val checkBox_log_AAEnded = new CheckBox {text = " AAE" ; selected = true }
104
+ val checkBox_log_AAHappened = new CheckBox {text = " AAH" ; selected = true }
109
105
val checkBox_log_Success = new CheckBox {text = " Scs" ; selected = true }
110
106
val checkBox_log_Break = new CheckBox {text = " Brk" ; selected = true }
111
107
val checkBox_log_Exclude = new CheckBox {text = " Exc" ; selected = true }
@@ -116,8 +112,7 @@ class GraphicalDebuggerApp extends SimpleSubscriptApplication with ScriptDebugge
116
112
contents += checkBox_step_Activation
117
113
contents += checkBox_step_Deactivation
118
114
contents += checkBox_step_Continuation
119
- contents += checkBox_step_AAStarted
120
- contents += checkBox_step_AAEnded
115
+ contents += checkBox_step_AAHappened
121
116
contents += checkBox_step_Success
122
117
contents += checkBox_step_Break
123
118
contents += checkBox_step_Exclude
@@ -127,8 +122,7 @@ class GraphicalDebuggerApp extends SimpleSubscriptApplication with ScriptDebugge
127
122
contents += checkBox_log_Activation
128
123
contents += checkBox_log_Deactivation
129
124
contents += checkBox_log_Continuation
130
- contents += checkBox_log_AAStarted
131
- contents += checkBox_log_AAEnded
125
+ contents += checkBox_log_AAHappened
132
126
contents += checkBox_log_Success
133
127
contents += checkBox_log_Break
134
128
contents += checkBox_log_Exclude
@@ -350,14 +344,13 @@ class GraphicalDebuggerApp extends SimpleSubscriptApplication with ScriptDebugge
350
344
351
345
if (currentMessage!= null ) {
352
346
currentMessage match { // node.index is not checked by node.equals!!!!
353
- case AAStarted (mp,mc) if (p.index== mp.index&& c.index== mc.index) => drawArrow(x2, y2, x1, y1, " AA Started" )
354
- case AAEnded (mp,mc) if (p.index== mp.index&& c.index== mc.index) => drawArrow(x2, y2, x1, y1, " AA Ended" )
355
- case Success (mp,null ) => // println("Success (mp,null)") // TBD: how come?
356
- case Success (mp,mc) if (p.index== mp.index&& c.index== mc.index) => drawArrow(x2, y2, x1, y1, " Success" )
357
- case Break (mp,mc, activationMode) if (p.index== mp.index&& c.index== mc.index)
358
- => drawArrow(x2, y2, x1, y1, getBreakText(activationMode))
359
- case Exclude (mp,mc) if (p.index== mp.index&& c.index== mc.index) => drawArrow(x1, y1, x2, y2, " Exclude" )
360
- case _ => drawArrow(x1, y1, x2, y2, null )
347
+ case AAHappened (mp,mc,mode) if (p.index== mp.index&& c.index== mc.index) => drawArrow(x2, y2, x1, y1, " AA Happened" )
348
+ case Success (mp,null ) => // println("Success (mp,null)") // TBD: how come?
349
+ case Success (mp,mc) if (p.index== mp.index&& c.index== mc.index) => drawArrow(x2, y2, x1, y1, " Success" )
350
+ case Break (mp,mc, activationMode) if (p.index== mp.index&& c.index== mc.index)
351
+ => drawArrow(x2, y2, x1, y1, getBreakText(activationMode))
352
+ case Exclude (mp,mc) if (p.index== mp.index&& c.index== mc.index) => drawArrow(x1, y1, x2, y2, " Exclude" )
353
+ case _ => drawArrow(x1, y1, x2, y2, null )
361
354
}
362
355
}
363
356
else drawArrow(x1, y1, x2, y2, null )
@@ -373,9 +366,8 @@ class GraphicalDebuggerApp extends SimpleSubscriptApplication with ScriptDebugge
373
366
val fontMetrics = g.getFontMetrics
374
367
interestingContinuationInternals(nn.continuation).foreach{s : String => drawStringTopLeft(g, s, x, y); y += fontMetrics.getHeight - 2 }
375
368
case _ => if (currentMessage!= null && currentMessage.node== n) currentMessage match {
376
- case s : Success if (s.child== null ) => drawStringTopLeft(g, " Success" , x, y)
377
- case a : AAStarted if (a.child== null ) => drawStringTopLeft(g, " AA Started" , x, y)
378
- case a : AAEnded if (a.child== null ) => drawStringTopLeft(g, " AA Ended" , x, y)
369
+ case s : Success if (s.child== null ) => drawStringTopLeft(g, " Success" , x, y)
370
+ case a : AAHappened if (a.child== null ) => drawStringTopLeft(g, " AA Happened" , x, y)
379
371
case _ =>
380
372
}
381
373
}
@@ -553,8 +545,7 @@ class GraphicalDebuggerApp extends SimpleSubscriptApplication with ScriptDebugge
553
545
currentMessage match {
554
546
case Activation (_) => checkBox_step_Activation .selected
555
547
case Deactivation (_,_,_) => checkBox_step_Deactivation.selected
556
- case AAStarted (_,_) => checkBox_step_AAStarted .selected
557
- case AAEnded (_,_) => checkBox_step_AAEnded .selected
548
+ case AAHappened (_,_,_) => checkBox_step_AAHappened .selected
558
549
case Success (_,_) => checkBox_step_Success .selected
559
550
case Break (_,_,_) => checkBox_step_Break .selected
560
551
case Exclude (_,_) => checkBox_step_Exclude .selected
@@ -582,8 +573,7 @@ class GraphicalDebuggerApp extends SimpleSubscriptApplication with ScriptDebugge
582
573
if (msg match {
583
574
case Activation (_) => checkBox_log_Activation .selected
584
575
case Deactivation (_,_,_) => checkBox_log_Deactivation.selected
585
- case AAStarted (_,_) => checkBox_log_AAStarted .selected
586
- case AAEnded (_,_) => checkBox_log_AAEnded .selected
576
+ case AAHappened (_,_,_) => checkBox_log_AAHappened .selected
587
577
case Success (_,_) => checkBox_log_Success .selected
588
578
case Break (_,_,_) => checkBox_log_Break .selected
589
579
case Exclude (_,_) => checkBox_log_Exclude .selected
0 commit comments