forked from qt-creator/qt-creator
Fixes: debugger: make loading list of source files optional
This commit is contained in:
@@ -1140,7 +1140,8 @@ void GdbEngine::handleAqcuiredInferior()
|
||||
#if defined(Q_OS_MAC)
|
||||
sendCommand("info pid", GdbInfoProc, QVariant(), NeedsStop);
|
||||
#endif
|
||||
reloadSourceFiles();
|
||||
if (qq->wantsSourceFileList())
|
||||
reloadSourceFiles();
|
||||
tryLoadCustomDumpers();
|
||||
|
||||
#ifndef Q_OS_MAC
|
||||
@@ -1297,7 +1298,8 @@ void GdbEngine::handleAsyncOutput(const GdbMi &data)
|
||||
frame.findChild("func").data() + '%';
|
||||
|
||||
QApplication::alert(q->mainWindow(), 3000);
|
||||
reloadSourceFiles();
|
||||
if (qq->wantsSourceFileList())
|
||||
reloadSourceFiles();
|
||||
sendCommand("-break-list", BreakList);
|
||||
QVariant var = QVariant::fromValue<GdbMi>(data);
|
||||
sendCommand("p 0", GdbAsyncOutput2, var); // dummy
|
||||
|
||||
Reference in New Issue
Block a user