ndmitchell / debug

Haskell library for debugging
BSD 3-Clause "New" or "Revised" License
122 stars 7 forks source link

Not showing intermediate values when used with stack #59

Open miyamoto1340 opened 6 years ago

miyamoto1340 commented 6 years ago

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?

ndmitchell commented 6 years ago

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?

SimonBosse commented 6 years ago

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

ndmitchell commented 6 years ago

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...