This patch fixes ticket #1083 in the ghci debugger
authorPepe Iborra <mnislaih@gmail.com>
Fri, 5 Jan 2007 17:38:51 +0000 (17:38 +0000)
committerPepe Iborra <mnislaih@gmail.com>
Fri, 5 Jan 2007 17:38:51 +0000 (17:38 +0000)
commit8ea920f1ef9e66e3cecc81822e594943f8957d60
tree425e2f668cf88946b2245f0ae941478ae1fb9abe
parentc3e1f7be52fbe5d13a7ee733b99ef6e73762e5ab
This patch fixes ticket #1083 in the ghci debugger

A module loaded under debugging mode but owning no breakpoints was erroneously identified by ghci as a non-under debugging module, producing a confusing error msg when the user tried to set a breakpoint

The fix inserts an empty list of sites in the module-sites dictionary used by the debugger
compiler/ghci/Debugger.hs