Commit e1d0cfa4 authored by Sarah Grebing's avatar Sarah Grebing

bugfix NPE after reload

parent 3675c5ae
Pipeline #17019 passed with stages
in 11 minutes and 6 seconds
...@@ -283,9 +283,10 @@ public class DebuggerMain implements Initializable { ...@@ -283,9 +283,10 @@ public class DebuggerMain implements Initializable {
*/ */
private void handleStatePointerUI(PTreeNode<KeyData> node) { private void handleStatePointerUI(PTreeNode<KeyData> node) {
graph.addPartiallyAndMark(node);
if (node != null) { if (node != null) {
graph.addPartiallyAndMark(node);
getInspectionViewsController().getActiveInspectionViewTab().activate(node, node.getStateBeforeStmt()); getInspectionViewsController().getActiveInspectionViewTab().activate(node, node.getStateBeforeStmt());
scriptController.getDebugPositionHighlighter().highlight(node.getStatement()); scriptController.getDebugPositionHighlighter().highlight(node.getStatement());
} else { } else {
......
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