You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val gearIcon =FlatSVGIcon(MultiverseDebugger::javaClass.javaClass.getResource("/settings-gear.svg"))
@@ -528,6 +538,7 @@ class MultiversePanel(private val multiverseDebugger: MultiverseDebugger, config
528
538
stateChanged(null, 0.0)
529
539
followButton.isEnabled =false
530
540
customButton.isEnabled =false
541
+
concolicButton.isEnabled =false
531
542
thread {
532
543
// Disable breakpoints
533
544
val breakpointsStart = multiverseDebugger.checkpoints.last()!!.snapshot.breakpoints!!
@@ -565,6 +576,17 @@ class MultiversePanel(private val multiverseDebugger: MultiverseDebugger, config
565
576
val lastAction = actionPath.last() asContinueForAction
566
577
lastAction.n++
567
578
}
579
+
if (graphPanel.reset) {
580
+
if (JOptionPane.showConfirmDialog(this, "This operation will restart the execution, continue?", "Restart program", YES_NO_OPTION, ERROR_MESSAGE) ==JOptionPane.NO_OPTION) {
581
+
customButton.isEnabled =true
582
+
followButton.isEnabled =true
583
+
graphPanel.allowSelection =true
584
+
concolicButton.isEnabled =true
585
+
stateChanged(null, 1.0)
586
+
return@thread
587
+
}
588
+
multiverseDebugger.reset()
589
+
}
568
590
for (action in actionPath) {
569
591
action.doAction()
570
592
if (action isContinueForAction) {
@@ -597,6 +619,7 @@ class MultiversePanel(private val multiverseDebugger: MultiverseDebugger, config
0 commit comments