[Haskell-cafe] GDB and ticks

Sylvain Henry sylvain at haskus.fr
Mon Oct 18 12:13:24 UTC 2021


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)

On 18/10/2021 12:47, Henning Thielemann wrote:
>
> I am stepping through a Haskell program using the GNU debugger GDB and 
> see function calls to handle_tick, handleProfTick, stopTicker all over 
> the place. It sounds like they would manage profiling, but I compiled 
> the executable without profiling.
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.


More information about the Haskell-Cafe mailing list