From db3a38be7b77d5929daf00c5eba6ead167e974ec Mon Sep 17 00:00:00 2001 From: thrust26 Date: Sun, 15 Dec 2024 22:29:25 +0100 Subject: [PATCH] moved loading of config and DASM list & symbols files before executing auto scripts --- src/debugger/gui/PromptWidget.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/debugger/gui/PromptWidget.cxx b/src/debugger/gui/PromptWidget.cxx index bf4f91042..1e84a8070 100644 --- a/src/debugger/gui/PromptWidget.cxx +++ b/src/debugger/gui/PromptWidget.cxx @@ -381,6 +381,10 @@ void PromptWidget::loadConfig() print(version); print(PROMPT); + print(instance().debugger().cartDebug().loadConfigFile() + "\n"); + print(instance().debugger().cartDebug().loadListFile() + "\n"); + print(instance().debugger().cartDebug().loadSymbolFile() + "\n"); + // Take care of one-time debugger stuff // fill the history from the saved breaks, traps and watches commands StringList history; @@ -389,9 +393,6 @@ void PromptWidget::loadConfig() addToHistory(h.c_str()); history.clear(); - print(instance().debugger().cartDebug().loadConfigFile() + "\n"); - print(instance().debugger().cartDebug().loadListFile() + "\n"); - print(instance().debugger().cartDebug().loadSymbolFile() + "\n"); bool extra = false; if(instance().settings().getBool("dbg.autosave"))