debug icon indicating copy to clipboard operation
debug copied to clipboard

Not showing intermediate values when used with stack

Open miyamoto1340 opened this issue 7 years ago • 3 comments

Hi, first let me thank you for this amazing tool. Regarding the quicksort example, if I use this inside a stack setup the intermediate values like lt, gt are not shown. With cabal they will be shown. Is this a matter of configuration or is it not possible to show the intermediate values inside a stack setup?

miyamoto1340 avatar May 22 '18 18:05 miyamoto1340

I don't think stack vs cabal will make any difference, unless you are changing version? I assume you are referring to stack setup as the Stack package management tool?

ndmitchell avatar May 23 '18 19:05 ndmitchell

I did not use stack setup, I created a new project with the stack new command and tried it with ghci version 8.0.2 (resolver lts-9.23) and ghci 8.2.2 (lts-11.9) and in this cases I do not get displayed gt, lt, x and xs but the call stack is displayed. quicksort

SimonBosse avatar May 23 '18 21:05 SimonBosse

I confirm I see the same thing as you do, and furthermore I see it with the latest version combined with GHC 8.2. My guess is something changed and you no longer get the intermediates? Not really sure - I'm not using this package actively at the moment so will leave it for a coauthor to look at - but it might be a reasonable wait...

ndmitchell avatar Jul 03 '18 20:07 ndmitchell