Attach free variables rather than in-scope variables to breakpoints
authorSimon Marlow <simonmar@microsoft.com>
Thu, 26 Apr 2007 10:11:27 +0000 (10:11 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 26 Apr 2007 10:11:27 +0000 (10:11 +0000)
commit61b0ea8101e1128e6b0e59476a220c99e3d4f211
tree23bc393beaf2dc8e6b548e82e1a470213e9f6420
parentcf997f8083f529e71bb4b5030eb9fc8cf0aaa7f7
Attach free variables rather than in-scope variables to breakpoints
This speeds up the debugger quite a bit, we're now only about 30%
slower than ordinary GHCi, and still adding breakpoints to every
sub-expression.  Also we now get to see the free variables in
recursive bindings, which wasn't working properly before.
compiler/deSugar/Coverage.lhs