forked from qt-creator/qt-creator
CDB: Start all CDB breakpoint IDs at 1000.
Avoid clashes with breakpoints resulting from options (break at functions from options, potentially using bm). Change-Id: I3746f5a246d7bbeea36df412460edf3f2a90e2c0 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -59,6 +59,13 @@ QString cdbSourcePathMapping(QString fileName,
|
||||
const QList<QPair<QString, QString> > &sourcePathMapping,
|
||||
SourcePathMode mode);
|
||||
|
||||
// Ensure unique 'namespace' for breakpoints of the breakhandler.
|
||||
enum { cdbBreakPointStartId = 1000 };
|
||||
|
||||
int breakPointIdToCdbId(const BreakpointModelId &id);
|
||||
BreakpointModelId cdbIdToBreakpointModelId(const GdbMi &id);
|
||||
BreakpointResponseId cdbIdToBreakpointResponseId(const GdbMi &id);
|
||||
|
||||
// Convert breakpoint in CDB syntax (applying source path mappings using native paths).
|
||||
QByteArray cdbAddBreakpointCommand(const BreakpointParameters &d,
|
||||
const QList<QPair<QString, QString> > &sourcePathMapping,
|
||||
|
||||
Reference in New Issue
Block a user