From: Pepe Iborra Date: Sun, 10 Dec 2006 22:31:02 +0000 (+0000) Subject: Prevent breakpoint instrumentation of spliced code X-Git-Tag: 2006-12-17~10 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=065a02b5cf14a1303c9ab47f9db4235f2157cc98 Prevent breakpoint instrumentation of spliced code --- diff --git a/compiler/typecheck/TcSplice.lhs b/compiler/typecheck/TcSplice.lhs index 3302b23..56eb637 100644 --- a/compiler/typecheck/TcSplice.lhs +++ b/compiler/typecheck/TcSplice.lhs @@ -52,6 +52,7 @@ import ErrUtils import SrcLoc import Outputable import Unique +import DynFlags import PackageConfig import BasicTypes import Panic @@ -363,7 +364,7 @@ runMeta :: (SrcSpan -> th_syn -> Either Message hs_syn) -> TcM hs_syn -- Of type t runMeta convert expr = do { -- Desugar - ds_expr <- initDsTc (dsLExpr expr) + ds_expr <- unsetOptM Opt_Debugging $ initDsTc (dsLExpr expr) -- Compile and link it; might fail if linking fails ; hsc_env <- getTopEnv