forked from qt-creator/qt-creator
Debugger: Add a convenience function GdbMi::toInt()
Saves some line noise on the user side. Change-Id: I9c6d7542195fc7485ac4ee466cd42a28be95b8da Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -2036,7 +2036,7 @@ unsigned CdbEngine::examineStopReason(const GdbMi &stopReason,
|
||||
rc |= StopReportLog;
|
||||
return rc;
|
||||
}
|
||||
const int threadId = stopReason["threadId"].data().toInt();
|
||||
const int threadId = stopReason["threadId"].toInt();
|
||||
if (reason == "breakpoint") {
|
||||
// Note: Internal breakpoints (run to line) are reported with id=0.
|
||||
// Step out creates temporary breakpoints with id 10000.
|
||||
|
Reference in New Issue
Block a user