<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 10, 2018, at 10:13 AM, Gábor Márton via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org" class="">lldb-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">Is there an LLDB counterpart to GDB's Checkpoint/Restart feature (<a href="https://sourceware.org/gdb/onlinedocs/gdb/Checkpoint_002fRestart.html" class="">https://sourceware.org/gdb/onlinedocs/gdb/Checkpoint_002fRestart.html</a>)? I could not find anything here <a href="http://lldb.llvm.org/lldb-gdb.html" class="">http://lldb.llvm.org/lldb-gdb.html</a>. Is there a way to mimic that feature somehow on macOS (or do reverse debugging) ?</div></div></div></div></div></blockquote><br class=""></div><div>At least for macOS, the checkpoint/restart scheme using forks to save previous state won’t work in general. Many system frameworks as well as the pthread stack will start misbehaving if a fork is not followed immediately by an exec.</div><div><br class=""></div><div>Fred </div><br class=""></body></html>