debugger: try to make core file loading appear snappier

This commit is contained in:
hjk
2010-12-21 14:41:17 +01:00
parent 3f98fb7f63
commit dcd57ab2df
3 changed files with 39 additions and 8 deletions

View File

@@ -2636,7 +2636,7 @@ void GdbEngine::loadSymbolsForStack()
const Modules &modules = modulesHandler()->modules();
foreach (const StackFrame &frame, stackHandler()->frames()) {
if (frame.function == _("??")) {
qDebug() << "LOAD FOR " << frame.address;
//qDebug() << "LOAD FOR " << frame.address;
foreach (const Module &module, modules) {
if (module.startAddress <= frame.address
&& frame.address < module.endAddress) {
@@ -4369,10 +4369,12 @@ void GdbEngine::handleInferiorPrepared()
#endif
}
// Initial attempt to set breakpoints
showStatusMessage(tr("Setting breakpoints..."));
showMessage(tr("Setting breakpoints..."));
attemptBreakpointSynchronization();
// Initial attempt to set breakpoints.
if (startParameters().startMode != AttachCore) {
showStatusMessage(tr("Setting breakpoints..."));
showMessage(tr("Setting breakpoints..."));
attemptBreakpointSynchronization();
}
if (m_cookieForToken.isEmpty()) {
finishInferiorSetup();