We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d66952 commit ba482d9Copy full SHA for ba482d9
1 file changed
haskell-debugger/GHC/Debugger/Monad.hs
@@ -343,6 +343,13 @@ runDebugger l rootDir compDir libdir units ghcInvocation' extraGhcArgs mainFp co
343
mainGhcThread :: Ghc a
344
mainGhcThread = do
345
-- Initializes interpreter!
346
+ -- FIXME: Do these affect affect the loading of the debugee code? and which ones are required?
347
+ --
348
+ -- I guess these are important for it to be debuggable?
349
+ -- `GHC.gopt_set` GHC.Opt_IgnoreOptimChanges
350
+ -- `GHC.gopt_set` GHC.Opt_IgnoreHpcChanges
351
+ -- `GHC.gopt_set` GHC.Opt_UseBytecodeRatherThanObjects
352
+ -- `GHC.gopt_set` GHC.Opt_InsertBreakpoints
353
_ <- GHC.setSessionDynFlags dflags2
354
355
-- Initialise plugins here because the plugin author might already expect this
0 commit comments