aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/elab-debugger.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/elab-debugger.adb')
-rw-r--r--src/synth/elab-debugger.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/synth/elab-debugger.adb b/src/synth/elab-debugger.adb
index f1138904f..0f5ecb9dc 100644
--- a/src/synth/elab-debugger.adb
+++ b/src/synth/elab-debugger.adb
@@ -1041,6 +1041,9 @@ package body Elab.Debugger is
Current_Loc := Expr;
Debug (Reason_Error);
end if;
+ if Error_Hook /= null then
+ Error_Hook.all;
+ end if;
end Debug_Error;
end Elab.Debugger;