[Haskell-cafe] GDB and ticks
Donn Cave
donn at avvanta.com
Mon Oct 18 14:27:28 UTC 2021
quoth Henning Thielemann <lemming at henning-thielemann.de>
> On Mon, 18 Oct 2021, Sylvain Henry wrote:
> > The timer isn't only used for profiling, it is used for scheduling too.
> > You can disable it with `+RTS -V0` (cf
> > https://ghc.gitlab.haskell.org/ghc/doc/users_guide/debug-info.html#tutorial)
>
> Cool, this works!
What does it break? Just about anything I'd run that was written in
Haskell must run this way, to avoid fatal interrupts in things like
socket I/O, so it's essentially a default - everything must be built
with -rtsopts, and run with GHCRTS=-V0 environment.
Donn
More information about the Haskell-Cafe
mailing list