forked from qt-creator/qt-creator
Debugger: Fix warning about unused variable
Change-Id: Ib26f94d54f7e9570efa69cdfefa4253b640bc664 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -694,10 +694,10 @@ void DebuggerRunTool::start()
|
||||
|
||||
if (m_runParameters.startMode == StartInternal) {
|
||||
QStringList unhandledIds;
|
||||
for (const GlobalBreakpoint &bp : BreakpointManager::globalBreakpoints()) {
|
||||
// for (const GlobalBreakpoint &bp : BreakpointManager::globalBreakpoints()) {
|
||||
// if (bp->isEnabled() && !m_engine->acceptsBreakpoint(bp))
|
||||
// unhandledIds.append(bp.id().toString());
|
||||
}
|
||||
// }
|
||||
if (!unhandledIds.isEmpty()) {
|
||||
QString warningMessage =
|
||||
DebuggerPlugin::tr("Some breakpoints cannot be handled by the debugger "
|
||||
|
Reference in New Issue
Block a user