forked from qt-creator/qt-creator
Debugger [CDB]: Fix module resolution.
Use breakpoint id as response id to identify breakpoints in reponse to 'list breakpoint' command. Change-Id: I31686aef0193bf2e26e38482c7efebf294a358c4 Reviewed-on: http://codereview.qt.nokia.com/940 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -51,6 +51,9 @@ namespace Internal {
|
||||
|
||||
This identifies a breakpoint in the \c BreakHandler. The
|
||||
major parts are strictly increasing over time.
|
||||
|
||||
The minor part identifies a multiple breakpoint
|
||||
set for example by gdb in constructors.
|
||||
*/
|
||||
|
||||
|
||||
@@ -105,6 +108,10 @@ BreakpointModelId BreakpointModelId::child(int row) const
|
||||
|
||||
This is what the external debuggers use to identify a breakpoint.
|
||||
It is only valid for one debugger run.
|
||||
|
||||
In gdb, the breakpoint number is used, which is constant
|
||||
during a session. CDB's breakpoint numbers vary if breakpoints
|
||||
are deleted, so, the ID is used.
|
||||
*/
|
||||
|
||||
BreakpointResponseId::BreakpointResponseId(const QByteArray &ba)
|
||||
|
||||
Reference in New Issue
Block a user