grin-compiler / haskell-code-spot

Visual tool to spot odd runtime behaviour of Haskell programs.
108 stars 3 forks source link

code spot errors on ghcide #4

Open codygman opened 4 years ago

codygman commented 4 years ago

I followed the instructions and compiled then ran ghcide with:

stack build --profile --executable-profiling --library-profiling
stack exec --profile ghcide -- /tmp/blah/Bug.hs +RTS -p -l -h

I then changed the event log file, clicked fetch, and it seemed to load. Then a few seconds later:

101060
Error: <circle> attribute cx: Expected length, "NaN".

Perhaps a good enhancement would be for code spot to give up after some reasonable number like 50000 tries or so :laughing:

ghcideventlog.zip

csabahruska commented 4 years ago

This is what I've got with Firefox 80.0 (64 bit linux) image

csabahruska commented 4 years ago

Also note that data scaling and streaming is not implemented yet, so only use tiny eventlog input files.