Commit 59023b9d authored by Sarah Grebing's avatar Sarah Grebing

minor

parent 5d0e3a4f
Pipeline #21440 passed with stages
in 3 minutes and 38 seconds
...@@ -178,10 +178,14 @@ public class DebuggerMain implements Initializable { ...@@ -178,10 +178,14 @@ public class DebuggerMain implements Initializable {
list.forEach(keyDataGoalNode -> System.out.println("list = " + keyDataGoalNode.getData().getNode().sequent()));*/ list.forEach(keyDataGoalNode -> System.out.println("list = " + keyDataGoalNode.getData().getNode().sequent()));*/
InspectionModel im = new InspectionModel(); InspectionModel im = new InspectionModel();
ObservableList<GoalNode<KeyData>> goals = FXCollections.observableArrayList(statePointerToPostMortem.getStateAfterStmt().getGoals()); ObservableList<GoalNode<KeyData>> goals = FXCollections.observableArrayList(stateAfterStmt.getGoals());
im.setGoals(goals); im.setGoals(goals);
im.setSelectedGoalNodeToShow(goals.get(0)); if(stateAfterStmt.getSelectedGoalNode() != null){
im.setSelectedGoalNodeToShow(stateAfterStmt.getSelectedGoalNode());
} else {
im.setSelectedGoalNodeToShow(goals.get(0));
}
inspectionViewsController.newPostMortemInspector(im) inspectionViewsController.newPostMortemInspector(im)
.dock(dockStation, DockPos.CENTER, getActiveInspectorDock()); .dock(dockStation, DockPos.CENTER, getActiveInspectorDock());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment