From bf2956a2f8e237144be7893c7934d158b2b31cd4 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Tue, 8 Jan 2013 23:22:42 +0000 Subject: Add an SBProcess API to get the current StopID, either considering or ignoring stops caused by expression evaluation. llvm-svn: 171914 --- lldb/scripts/Python/interface/SBProcess.i | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lldb/scripts/Python/interface') diff --git a/lldb/scripts/Python/interface/SBProcess.i b/lldb/scripts/Python/interface/SBProcess.i index 99ba6cf6628..a7ebb0a33c5 100644 --- a/lldb/scripts/Python/interface/SBProcess.i +++ b/lldb/scripts/Python/interface/SBProcess.i @@ -216,6 +216,16 @@ public: lldb::SBError Signal (int signal); + %feature("docstring", " + Returns a stop id that will increase every time the process executes. If + include_expression_stops is true, then stops caused by expression evaluation + will cause the returned value to increase, otherwise the counter returned will + only increase when execution is continued explicitly by the user. Note, the value + will always increase, but may increase by more than one per stop. + ") GetStopID; + uint32_t + GetStopID(bool include_expression_stops = false); + void SendAsyncInterrupt(); -- cgit v1.2.3