You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
runDebuggerAction l rootDir extraGhcArgs conf loadHomeUnit (Debugger action) =flipMC.finally cleanupInterp $-- See Note [Shutting down the external interpreter]
260
+
runDebuggerAction l rootDir extraGhcArgs conf loadHomeUnit (Debugger action) =withSystemTempDirectory "haskell-debugger-view-in-memory"$\ hdvWorkDir ->flipMC.finally cleanupInterp $-- See Note [Shutting down the external interpreter]
259
261
do
260
262
dflags0 <-GHC.getSessionDynFlags
261
263
let dflags1 = dflags0
@@ -329,7 +331,7 @@ runDebuggerAction l rootDir extraGhcArgs conf loadHomeUnit (Debugger action) = f
329
331
#ifndef DEBUG_WITH_GHC
330
332
-- Find haskell-debugger-view in (deps of) home units, or load one from
331
333
-- in-memory sources.
332
-
(hdv_uid, loadedBuiltinModNames) <- findOrLoadHaskellDebuggerView l buildWays
334
+
(hdv_uid, loadedBuiltinModNames) <- findOrLoadHaskellDebuggerView l hdvWorkDir buildWays
333
335
#else
334
336
let hdv_uid = hsDebuggerViewInMemoryUnitId
335
337
let loadedBuiltinModNames =[]:: [ModuleName]
@@ -393,9 +395,10 @@ runDebuggerAction l rootDir extraGhcArgs conf loadHomeUnit (Debugger action) = f
0 commit comments