forked from qt-creator/qt-creator
Debugger: Re-work breakpoint storage handling
The actual data is now in a TreeModel. As interface to individual breakpoints there's a new Breakpoint class essentially providing a checked handle. On the user code side breakHandler()->foo(bpId) is replaced by bp.foo(). Change-Id: I82f435bad6301fce85a1d82bf6bf39e9ddba511e Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#define DEBUGGER_CDBENGINE_H
|
||||
|
||||
#include <debugger/debuggerengine.h>
|
||||
#include <debugger/breakhandler.h>
|
||||
|
||||
#include <projectexplorer/devicesupport/idevice.h>
|
||||
|
||||
@@ -111,7 +112,7 @@ public:
|
||||
virtual void selectThread(ThreadId threadId);
|
||||
|
||||
virtual bool stateAcceptsBreakpointChanges() const;
|
||||
virtual bool acceptsBreakpoint(BreakpointModelId id) const;
|
||||
virtual bool acceptsBreakpoint(Breakpoint bp) const;
|
||||
virtual void attemptBreakpointSynchronization();
|
||||
|
||||
virtual void fetchDisassembler(DisassemblerAgent *agent);
|
||||
|
||||
Reference in New Issue
Block a user