{
if (debug)
qDebug("setupInferior");
- if (!isSlaveEngine()) {
- // QmlCppEngine expects the QML engine to be connected before any breakpoints are hit
- // (attemptBreakpointSynchronization() will be directly called then)
- attemptBreakpointSynchronization();
- if (startParameters().breakOnMain) {
- const BreakpointParameters bp(BreakpointAtMain);
- postCommand(cdbAddBreakpointCommand(bp, m_sourcePathMappings,
- BreakpointModelId(-1), true), 0);
- }
+ // QmlCppEngine expects the QML engine to be connected before any breakpoints are hit
+ // (attemptBreakpointSynchronization() will be directly called then)
+ attemptBreakpointSynchronization();
+ if (startParameters().breakOnMain) {
+ const BreakpointParameters bp(BreakpointAtMain);
+ postCommand(cdbAddBreakpointCommand(bp, m_sourcePathMappings,
+ BreakpointModelId(-1), true), 0);
}
postCommand("sxn 0x4000001f", 0); // Do not break on WowX86 exceptions.
postCommand(".asm source_line", 0); // Source line in assembly
QTC_ASSERT(state() == InferiorSetupRequested, qDebug() << state());
// Initial attempt to set breakpoints.
- if (sp.startMode != AttachCore && !isSlaveEngine()) {
+ if (sp.startMode != AttachCore) {
showStatusMessage(tr("Setting breakpoints..."));
showMessage(tr("Setting breakpoints..."));
attemptBreakpointSynchronization();