diff options
author | hjk <qthjk@ovi.com> | 2012-08-21 14:16:07 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-08-21 15:37:43 +0200 |
commit | f671a58c795a4ac963eec6d76c25995ebf78b2d6 (patch) | |
tree | 81de0034bc23ba45b5bb11ae3253c28ad99b25fd /src/plugins/debugger/breakpoint.h | |
parent | c2b78b8fdf992e62812a3608882316371d566c54 (diff) | |
download | qt-creator-f671a58c795a4ac963eec6d76c25995ebf78b2d6.tar.gz |
debugger: add support for temporary breakpoints
Change-Id: I841c37d21932da0ef354dbbe2fd75cec2fae86d6
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/debugger/breakpoint.h')
-rw-r--r-- | src/plugins/debugger/breakpoint.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/debugger/breakpoint.h b/src/plugins/debugger/breakpoint.h index 0e61e665f2..48d0060398 100644 --- a/src/plugins/debugger/breakpoint.h +++ b/src/plugins/debugger/breakpoint.h @@ -174,7 +174,6 @@ enum BreakpointParts ConditionPart = 0x10, IgnoreCountPart = 0x20, ThreadSpecPart = 0x40, - AllConditionParts = ConditionPart|IgnoreCountPart|ThreadSpecPart, ModulePart = 0x80, TracePointPart = 0x100, @@ -183,11 +182,16 @@ enum BreakpointParts PathUsagePart = 0x800, CommandPart = 0x1000, MessagePart = 0x2000, + OneShotPart = 0x4000, + + AllConditionParts = ConditionPart|IgnoreCountPart|ThreadSpecPart + |OneShotPart, AllParts = FileAndLinePart|FunctionPart |ExpressionPart|AddressPart|ConditionPart |IgnoreCountPart|ThreadSpecPart|ModulePart|TracePointPart |EnabledPart|TypePart|PathUsagePart|CommandPart|MessagePart + |OneShotPart }; inline void operator|=(BreakpointParts &p, BreakpointParts r) @@ -234,6 +238,7 @@ public: QString command; //!< command to execute QString message; //!< message bool tracepoint; + bool oneShot; //!< Should this breakpoint trigger only once? }; class BreakpointResponse : public BreakpointParameters |