> On Dec 10, 2018, at 10:13 AM, Gábor Márton via lldb-dev 
> <lldb-dev@lists.llvm.org> wrote:
> 
> Hi,
> 
> Is there an LLDB counterpart to GDB's Checkpoint/Restart feature 
> (https://sourceware.org/gdb/onlinedocs/gdb/Checkpoint_002fRestart.html 
> <https://sourceware.org/gdb/onlinedocs/gdb/Checkpoint_002fRestart.html>)? I 
> could not find anything here http://lldb.llvm.org/lldb-gdb.html 
> <http://lldb.llvm.org/lldb-gdb.html>. Is there a way to mimic that feature 
> somehow on macOS (or do reverse debugging) ?

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.

Fred 

_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to