[Lldb-commits] [PATCH] D132415: [LLDB] Add data formatter for std::coroutine_handle

Adrian Vogelsgesang via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 23 13:05:37 PDT 2022


avogelsgesang marked an inline comment as done.
avogelsgesang added inline comments.


================
Comment at: lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/TestCoroutineHandle.py:44
+
+        lldbutil.run_to_source_breakpoint(self, '// Break after co_yield',
+                lldb.SBFileSpec("main.cpp", False))
----------------
aprantl wrote:
> Does this launch a new process? It might be faster to just set an additional breakpoint and run `process.Continue()`.
somehow, I assumed `run_to_source_breakpoint` would actually continue the running process instead of starting a new process. But looking into `run_to_source_breakpoint`, you are right, this launches a new process...

I changed this to instead continue execution of the already launched process


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132415/new/

https://reviews.llvm.org/D132415



More information about the lldb-commits mailing list