X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fghci%2FByteCodeLink.lhs;h=c58ae870dfbb475377fde16d8cda37bf0010954d;hb=84923cc7de2a93c22a2f72daf9ac863959efae13;hp=427fa1eb500c9c9c8b293004ecc8c2c17ce18562;hpb=ab5b8aa357c685a7c702262903bce04c66f79156;p=ghc-hetmet.git diff --git a/compiler/ghci/ByteCodeLink.lhs b/compiler/ghci/ByteCodeLink.lhs index 427fa1e..c58ae87 100644 --- a/compiler/ghci/ByteCodeLink.lhs +++ b/compiler/ghci/ByteCodeLink.lhs @@ -27,6 +27,7 @@ import Module import PackageConfig import FastString import Panic +import Breakpoints #ifdef DEBUG import Outputable @@ -211,6 +212,8 @@ lookupName :: ClosureEnv -> Name -> IO HValue lookupName ce nm = case lookupNameEnv ce nm of Just (_,aa) -> return aa + Nothing | Just bk <- lookupBogusBreakpointVal nm + -> return bk Nothing -> ASSERT2(isExternalName nm, ppr nm) do let sym_to_find = nameToCLabel nm "closure"