From f671a58c795a4ac963eec6d76c25995ebf78b2d6 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 21 Aug 2012 14:16:07 +0200 Subject: debugger: add support for temporary breakpoints Change-Id: I841c37d21932da0ef354dbbe2fd75cec2fae86d6 Reviewed-by: hjk --- src/plugins/debugger/breakpoint.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/plugins/debugger/breakpoint.h') 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 -- cgit v1.2.1