diff options
Diffstat (limited to 'src/synth/synth-stmts.adb')
-rw-r--r-- | src/synth/synth-stmts.adb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/synth/synth-stmts.adb b/src/synth/synth-stmts.adb index de4bbb7cb..59b3a5136 100644 --- a/src/synth/synth-stmts.adb +++ b/src/synth/synth-stmts.adb @@ -49,6 +49,7 @@ with Synth.Source; with Synth.Static_Proc; with Synth.Heap; with Synth.Flags; +with Synth.Debugger; with Netlists.Builders; use Netlists.Builders; with Netlists.Gates; @@ -2009,6 +2010,9 @@ package body Synth.Stmts is & Natural'Image (Line)); end; end if; + if Synth.Debugger.Flag_Need_Debug then + Synth.Debugger.Debug_Break (C.Inst, Stmt); + end if; case Get_Kind (Stmt) is when Iir_Kind_If_Statement => |