Fix the deugger (fixing Trac #8557)
authorSimon Peyton Jones <simonpj@microsoft.com>
Mon, 25 Nov 2013 15:07:25 +0000 (15:07 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Thu, 28 Nov 2013 15:59:47 +0000 (15:59 +0000)
commita8ac471d435214dbdc1fa70f938c63128993a1db
tree272e875902635bf25176d2f6bc37525d9b73c758
parent6f7fa4e7d9951b5c809f53ec223896b066d01d39
Fix the deugger (fixing Trac #8557)

The runtime debugger (which has not received any love from anyone
for many years) looks wrong to me; it was failing to instantiate the
outer foralls of a variable when called from :force, which calls
cvObtainTermFromId, which calls cvObtainTerm

I simplified the code too.  But I'm flaky on how this debugger stuff
is really supposed to work, so I'm partly guessing.  Tests pass though.
compiler/ghci/RtClosureInspect.hs