ThreadScope
ThreadScope copied to clipboard
Import error in Events.EventDuration
Whilst trying to import a rather large eventlog (https://glitchbra.in/flora-cli.eventlog), I get this message and nothing more:
findRunThreadTime for Event {evTime = 54752927, evSpec = RunThread {thread = 16917}, evCap = Just 0}
CallStack (from HasCallStack):
error, called at ./Events/EventDuration.hs:100:42 in main:Events.EventDuration
This is rather surprising, as eventlog2html is perfectly able to produce this visualisation: https://glitchbra.in/flora-cli.eventlog.html
Copying from chat:
you must be running an old Threadscope
it no longer fails there
it instead does hPutStrLn stderr "warning: failed to find stop event for thread; eventlog truncated?"
(previously you had to have a properly exit 0 stopped program)