Skip to content

Commit 11f8721

Browse files
committed
support breakpoints at program finish
1 parent d1bfe40 commit 11f8721

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

external-stg-interpreter/lib/Stg/Interpreter.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,7 @@ runProgram isQuiet switchCWD progFilePath mods0 progArgs dbgChan dbgState tracin
854854

855855
exportCallGraph
856856

857+
Debugger.checkBreakpoint $ BkpCustom "program finished"
857858
-- HINT: start debugger REPL in debug mode
858859
when (dbgState == DbgStepByStep) $ do
859860
Debugger.processCommandsUntilExit

0 commit comments

Comments
 (0)