aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectPlatform.cpp
diff options
context:
space:
mode:
authorMed Ismail Bennani <medismail.bennani@gmail.com>2023-03-03 21:44:51 -0800
committerMed Ismail Bennani <medismail.bennani@gmail.com>2023-03-06 13:14:15 -0800
commit70b9822ef3b0774609c72d380504c9abfa717f81 (patch)
tree712fd6f7332cc544f1fecbb20a2b9344b7996037 /lldb/source/Commands/CommandObjectPlatform.cpp
parentcfe06f495beb520ab366957d1108bb80c7c92832 (diff)
downloadllvm-70b9822ef3b0774609c72d380504c9abfa717f81.zip
llvm-70b9822ef3b0774609c72d380504c9abfa717f81.tar.gz
llvm-70b9822ef3b0774609c72d380504c9abfa717f81.tar.bz2
[lldb] Add an example of interactive scripted process debugging (NFC)
This patch is a proof of concept that shows how a scripted process could be used with real process to perform interactive debugging. In this example, we run a process that spawns 10 threads. Then, we create a intermediary scripted process who's job will be to wrap the real process while intercepting it's process events and dispatching them back either to the real process or to other child scripted processes. In this example, we have 2 child scripted processes, with even and odd thread indices. The goal is to be able to do thread filtering and explore the various interactive debugging approaches, by letting a child process running when stopping the other process and inspecting it. Another approach would be to have the child processes execution in-sync to force running every child process when one of them starts running. Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diffstat (limited to 'lldb/source/Commands/CommandObjectPlatform.cpp')
0 files changed, 0 insertions, 0 deletions