Rodrigo Mesquita pushed to branch wip/romes/global-break-action at Glasgow Haskell Compiler / GHC Commits: a09f1104 by Rodrigo Mesquita at 2026-11-16T15:23:07+00:00 Global break action which uses a per-thread context map TODO: improve commit message - break032: we don't stop at breakpoints in TH - break033: :continue after -fbreak-on-exception doesn't hit exception breakpoint - break034: test :abandon doesn't hang with -fbreak-on-error - conc033: also run with the external interpreter - ForceInterrupt(Ext): ^C during :force interrupts the forced expression - T3171(ext)nosandbox: T3171 with -fno-ghci-sandbox TODO: - break040: :abandon when the breakpoint was hit in a forked thread - break042: every breakpoint hit by many forked threads is reported once - break043: :continue of a forked thread waits for main or any break - break045: a break hit by a forked thread at the prompt is reported on resume - break046: a statement run while stopped doesn't change what :continue resumes - break048: a statement run while a forked thread is stopped doesn't re-report it - break049: :force and internal evaluations don't observe another thread's break - break050(ext): ^C during :continue of a forked thread interrupts that thread - break051: a break hit by a thread forked by an earlier statement stops the current one Fixes #28124 - - - - - 54 changed files: - compiler/GHC/Driver/Config.hs - compiler/GHC/Runtime/Eval.hs - compiler/GHC/Runtime/Eval/Types.hs - compiler/GHC/Runtime/Interpreter.hs - libraries/ghci/GHCi/Message.hs - libraries/ghci/GHCi/Run.hs - + libraries/ghci/GHCi/Run/Breakpoints.hs - libraries/ghci/ghci.cabal.in - testsuite/tests/concurrent/should_run/all.T - testsuite/tests/ghci.debugger/scripts/Makefile - testsuite/tests/ghci.debugger/scripts/all.T - + testsuite/tests/ghci.debugger/scripts/break032.hs - + testsuite/tests/ghci.debugger/scripts/break032.script - + testsuite/tests/ghci.debugger/scripts/break032.stdout - + testsuite/tests/ghci.debugger/scripts/break033.hs - + testsuite/tests/ghci.debugger/scripts/break033.script - + testsuite/tests/ghci.debugger/scripts/break033.stdout - + testsuite/tests/ghci.debugger/scripts/break034.hs - + testsuite/tests/ghci.debugger/scripts/break034.script - + testsuite/tests/ghci.debugger/scripts/break034.stdout - + testsuite/tests/ghci.debugger/scripts/break040.hs - + testsuite/tests/ghci.debugger/scripts/break040.script - + testsuite/tests/ghci.debugger/scripts/break040.stdout - + testsuite/tests/ghci.debugger/scripts/break042.hs - + testsuite/tests/ghci.debugger/scripts/break042.script - + testsuite/tests/ghci.debugger/scripts/break042.stdout - + testsuite/tests/ghci.debugger/scripts/break043.hs - + testsuite/tests/ghci.debugger/scripts/break043.script - + testsuite/tests/ghci.debugger/scripts/break043.stdout - + testsuite/tests/ghci.debugger/scripts/break045.hs - + testsuite/tests/ghci.debugger/scripts/break045.script - + testsuite/tests/ghci.debugger/scripts/break045.stdout - + testsuite/tests/ghci.debugger/scripts/break046.hs - + testsuite/tests/ghci.debugger/scripts/break046.script - + testsuite/tests/ghci.debugger/scripts/break046.stdout - + testsuite/tests/ghci.debugger/scripts/break048.script - + testsuite/tests/ghci.debugger/scripts/break048.stdout - + testsuite/tests/ghci.debugger/scripts/break049.hs - + testsuite/tests/ghci.debugger/scripts/break049.script - + testsuite/tests/ghci.debugger/scripts/break049.stdout - + testsuite/tests/ghci.debugger/scripts/break050.hs - + testsuite/tests/ghci.debugger/scripts/break050.script - + testsuite/tests/ghci.debugger/scripts/break050.stdout - + testsuite/tests/ghci.debugger/scripts/break050ext.stdout - + testsuite/tests/ghci.debugger/scripts/break051.hs - + testsuite/tests/ghci.debugger/scripts/break051.script - + testsuite/tests/ghci.debugger/scripts/break051.stdout - + testsuite/tests/ghci/should_run/ForceInterrupt.script - + testsuite/tests/ghci/should_run/ForceInterrupt.stdout - + testsuite/tests/ghci/should_run/ForceInterruptExt.stdout - testsuite/tests/ghci/should_run/Makefile - + testsuite/tests/ghci/should_run/T3171extnosandbox.stdout - + testsuite/tests/ghci/should_run/T3171nosandbox.stdout - testsuite/tests/ghci/should_run/all.T The diff was not included because it is too large. View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a09f110495ce7005297827e41b3c1566... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a09f110495ce7005297827e41b3c1566... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help