Ghidra is a software reverse engineering (SRE) framework
GP-2722: Don't start a timer on launch when prompting user for options
Dan952a5725fd7b
diff --git a/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/service/model/launch/AbstractDebuggerProgramLaunchOffer.java b/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/service/model/launch/AbstractDebuggerProgramLaunchOffer.javaindex 7f78c98fac..0e72a46596 100644--- a/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/service/model/launch/AbstractDebuggerProgramLaunchOffer.java+++ b/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/service/model/launch/AbstractDebuggerProgramLaunchOffer.java@@ -591,8 +591,11 @@ public abstract class AbstractDebuggerProgramLaunchOffer implements DebuggerProgmonitor.incrementProgress(1);monitor.setMessage("Launching");locals.futureTarget = listenForTarget(l.getModel());+ if (prompt) {+ return launch(l, true, configurator);+ }return AsyncTimer.DEFAULT_TIMER.mark()- .timeOut(launch(l, prompt, configurator), getTimeoutMillis(),+ .timeOut(launch(l, false, configurator), getTimeoutMillis(),() -> onTimedOutLaunch(monitor));}).thenCompose(__ -> {checkCancelled(monitor);