[lldb-dev] Debugging Python scripts (backtraces, variables) with LLDB

Alexandru Croitor via lldb-dev lldb-dev at lists.llvm.org
Tue Nov 20 10:08:35 PST 2018

Thanks for the link. I'm aware that VS provides that functionality (although I forgot that it was open-source).

My aim would be to implement something similar in LLDB though.

On 20. Nov 2018, at 18:49, Zachary Turner <zturner at google.com<mailto:zturner at google.com>> wrote:

On Tue, Nov 20, 2018 at 8:51 AM Alexandru Croitor via lldb-dev <lldb-dev at lists.llvm.org<mailto:lldb-dev at lists.llvm.org>> wrote:

I would appreciate, if someone could point me to some relevant code that does something similar to what I'm asking, so I could use it as a base point for exploration.

Many thanks.

Not sure how much it will help you, but on Windows if you're using MS Visual Studio, their debugger does this.  You can seamlessly step between managed and native code and see Python callstacks interspersed with  native callstacks.  It's all open source but it's quite a lot of code to dig through, and unless you have a Windows machien, you won't be able to play around with it anyway.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20181120/f9a15eb2/attachment.html>

More information about the lldb-dev mailing list