forked from qt-creator/qt-creator
CDB: Handle "ambiguous symbol" messages on breakpoint inserts.
These messages usually appear when there is a lambda at the position the breakpoint is about to be inserted. Task-number: QTCREATORBUG-12178 Task-number: QTCREATORBUG-12016 Change-Id: I20f7b0e900147030bfd08206fab869ac22810825 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -56,16 +56,20 @@ QString cdbSourcePathMapping(QString fileName,
|
||||
SourcePathMode mode);
|
||||
|
||||
// Ensure unique 'namespace' for breakpoints of the breakhandler.
|
||||
enum { cdbBreakPointStartId = 1000 };
|
||||
enum { cdbBreakPointStartId = 100000,
|
||||
cdbBreakPointIdMinorPart = 100};
|
||||
|
||||
int breakPointIdToCdbId(const BreakpointModelId &id);
|
||||
BreakpointModelId cdbIdToBreakpointModelId(const GdbMi &id);
|
||||
BreakpointModelId cdbIdToBreakpointModelId(int id);
|
||||
BreakpointResponseId cdbIdToBreakpointResponseId(const GdbMi &id);
|
||||
BreakpointResponseId cdbIdToBreakpointResponseId(int id);
|
||||
|
||||
// Convert breakpoint in CDB syntax (applying source path mappings using native paths).
|
||||
QByteArray cdbAddBreakpointCommand(const BreakpointParameters &d,
|
||||
const QList<QPair<QString, QString> > &sourcePathMapping,
|
||||
BreakpointModelId id = BreakpointModelId(quint16(-1)), bool oneshot = false);
|
||||
QByteArray cdbClearBreakpointCommand(const BreakpointModelId &id);
|
||||
// Parse extension command listing breakpoints.
|
||||
// Note that not all fields are returned, since file, line, function are encoded
|
||||
// in the expression (that is in addition deleted on resolving for a bp-type breakpoint).
|
||||
|
||||
Reference in New Issue
Block a user