moved loading of config and DASM list & symbols files before executing auto scripts

This commit is contained in:
thrust26 2024-12-15 22:29:25 +01:00
parent 617147a175
commit db3a38be7b
1 changed files with 4 additions and 3 deletions

View File

@ -381,6 +381,10 @@ void PromptWidget::loadConfig()
print(version); print(version);
print(PROMPT); 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 // Take care of one-time debugger stuff
// fill the history from the saved breaks, traps and watches commands // fill the history from the saved breaks, traps and watches commands
StringList history; StringList history;
@ -389,9 +393,6 @@ void PromptWidget::loadConfig()
addToHistory(h.c_str()); addToHistory(h.c_str());
history.clear(); history.clear();
print(instance().debugger().cartDebug().loadConfigFile() + "\n");
print(instance().debugger().cartDebug().loadListFile() + "\n");
print(instance().debugger().cartDebug().loadSymbolFile() + "\n");
bool extra = false; bool extra = false;
if(instance().settings().getBool("dbg.autosave")) if(instance().settings().getBool("dbg.autosave"))