Skip to content

Commit

Permalink
moved loading of config and DASM list & symbols files before executin…
Browse files Browse the repository at this point in the history
…g auto scripts
  • Loading branch information
thrust26 committed Dec 15, 2024
1 parent 617147a commit db3a38b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/debugger/gui/PromptWidget.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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"))
Expand Down

0 comments on commit db3a38b

Please sign in to comment.