reverse debugging with lldb
Asked Answered
R

3

10

I've read this tutorial, but I haven't found there anything about reverse debugging. Does lldb have some features like target record in gdb? If yes, where can I read about it?

Remediless answered 22/8, 2013 at 7:50 Comment(0)
C
6

Not yet. To date most of the work on lldb has been to complete the common set of debugger features; it is solid for i386, x86_64, and armv7 debugging on Mac systems. There are people woking on Linux and *BSD ports now - that's hugely important to making lldb usable for lots of people. There are lots of interesting features that can be added to lldb in the future as the core debugger facilities are mature -- genuine reverse execution is one, process recording & playback (what I gather target record does) is another.

Cantu answered 22/8, 2013 at 9:13 Comment(1)
Thanks for your answer! Yeah, I meant process recording.Remediless
F
4

There is this work from last year: https://dev.to/vangelists/live-reverse-debugging-in-lldb-2nf0 https://github.com/vangelists/llvm-project

But looks like it's just a prototype and hasn't been upstreamed so far.

Firedamp answered 16/7, 2021 at 11:47 Comment(1)
this looks promising, thanks for the link. i'm curious how does it compare to rr tool.Remediless
W
0

Quoting https://lldb.llvm.org/resources/projects.html#reverse-debugging :

This is kind of a holy grail, it’s hard to support for complex apps (many threads, shared memory, etc.) But it would be SO nice to have…

Wasting answered 30/12, 2023 at 9:10 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.