forked from qt-creator/qt-creator
Fixes: re-enable "Start External Application" in debug mode
This commit is contained in:
@@ -1616,7 +1616,7 @@ bool GdbEngine::startDebugger()
|
|||||||
sendCommand("attach " + QString::number(q->m_attachedPID));
|
sendCommand("attach " + QString::number(q->m_attachedPID));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (q->startMode() == q->startInternal) {
|
if (q->startMode() == q->startInternal || q->startMode() == q->startExternal) {
|
||||||
sendCommand("-file-exec-and-symbols " + fileName, GdbFileExecAndSymbols);
|
sendCommand("-file-exec-and-symbols " + fileName, GdbFileExecAndSymbols);
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
sendCommand("sharedlibrary apply-load-rules all");
|
sendCommand("sharedlibrary apply-load-rules all");
|
||||||
|
|||||||
@@ -868,7 +868,7 @@ int main(int argc, char *argv[])
|
|||||||
testQVectorOfQList();
|
testQVectorOfQList();
|
||||||
|
|
||||||
|
|
||||||
*(int *)0 = 0;
|
//*(int *)0 = 0;
|
||||||
|
|
||||||
testQObject(argc, argv);
|
testQObject(argc, argv);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user