summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/breakhandler.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-02-03 16:26:23 +0100
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-02-03 16:26:23 +0100
commit91ead6c81807b75ee23669be904c1519af2cc8fa (patch)
tree43c612a60a1ec23321169f0cc45404d55e9b06bb /src/plugins/debugger/breakhandler.h
parentd5a33d2860eaecc6466fc7d194d4f34f91861d58 (diff)
downloadqt-creator-91ead6c81807b75ee23669be904c1519af2cc8fa.tar.gz
Debugger[CDB]: Refactor breakpoint handling.
Add a command to list breakpoints enabling id access. Implemented breakpoint handling similar to gdb using breakpoint ids (no longer delete and re-set all breakpoints on a change). Save the module that is reported back in the session so that it can be re-used for the next start. Keep a per-debugger-session cache of fileName->Module for adding breakpoints to accelerate setting breakpoints in the same file. Polish the breakpoint tooltip.
Diffstat (limited to 'src/plugins/debugger/breakhandler.h')
-rw-r--r--src/plugins/debugger/breakhandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/breakhandler.h b/src/plugins/debugger/breakhandler.h
index a2338acdae..34dbd26e97 100644
--- a/src/plugins/debugger/breakhandler.h
+++ b/src/plugins/debugger/breakhandler.h
@@ -136,7 +136,7 @@ public:
DebuggerEngine *engine(BreakpointId id) const;
void setEngine(BreakpointId id, DebuggerEngine *engine);
const BreakpointResponse &response(BreakpointId id) const;
- void setResponse(BreakpointId id, const BreakpointResponse &data);
+ void setResponse(BreakpointId id, const BreakpointResponse &data, bool takeOver = true);
bool needsChange(BreakpointId id) const;
// State transitions.