forked from qt-creator/qt-creator
Debugger: Add basic breakpoint handling and stepping to LLDB backend
Change-Id: Ib700afa63739e6d26bdd97225265559d7112eadb Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -120,9 +120,11 @@ QDebug operator<<(QDebug d, const BreakpointResponseId &id);
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
//! \enum Debugger::Internal::BreakpointType
|
||||
|
||||
// Note: Keep synchronized with similar definitions in bridge.py
|
||||
enum BreakpointType
|
||||
{
|
||||
UnknownType,
|
||||
UnknownBreakpointType,
|
||||
BreakpointByFileAndLine,
|
||||
BreakpointByFunction,
|
||||
BreakpointByAddress,
|
||||
@@ -131,12 +133,12 @@ enum BreakpointType
|
||||
BreakpointAtMain,
|
||||
BreakpointAtFork,
|
||||
BreakpointAtExec,
|
||||
//BreakpointAtVFork,
|
||||
BreakpointAtSysCall,
|
||||
WatchpointAtAddress,
|
||||
WatchpointAtExpression,
|
||||
BreakpointOnQmlSignalEmit,
|
||||
BreakpointAtJavaScriptThrow
|
||||
BreakpointAtJavaScriptThrow,
|
||||
LastBreakpointType
|
||||
};
|
||||
|
||||
//! \enum Debugger::Internal::BreakpointState
|
||||
@@ -200,7 +202,7 @@ inline void operator|=(BreakpointParts &p, BreakpointParts r)
|
||||
class BreakpointParameters
|
||||
{
|
||||
public:
|
||||
explicit BreakpointParameters(BreakpointType = UnknownType);
|
||||
explicit BreakpointParameters(BreakpointType = UnknownBreakpointType);
|
||||
BreakpointParts differencesTo(const BreakpointParameters &rhs) const;
|
||||
bool isValid() const;
|
||||
bool equals(const BreakpointParameters &rhs) const;
|
||||
|
||||
Reference in New Issue
Block a user