[Lldb-commits] [lldb] [lldb] Implement basic support for reverse-continue (PR #99736)

via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 22 13:35:54 PDT 2024


================
@@ -160,6 +160,8 @@ class LLDB_API SBProcess {
 
   lldb::SBError Continue();
 
+  lldb::SBError ReverseContinue();
----------------
jimingham wrote:

For programming uses, it might be more useful to have one API with a bool or RunDirection or something? It's nicer to write:

`  process.Continue(direction)
`
rather than:

  if (direction = lldb.eRunBackwards):
    process.ReverseContinue()
  else:
    process.Continue()

https://github.com/llvm/llvm-project/pull/99736


More information about the lldb-commits mailing list