Debugger Scripting Ideas

Much like WinDBG supports JavaScript Debugger Scripting, LLDB supports the LLDB API to control and extend the debugger.

What are some things you could write with this? Here is a list of things to get you inspired.

You might also look at my older posts on post-mortem debugging, and how to use globals and logging wisely to help with that.

Python specifics

I have a page on Python with references to many of my most-used packages, but importantly you'll often want to see what the Python installation that LLDB is using looks like.

To see that, start LLDB and run these commands.

script import sys
script sys.version
script sys.path

Happy debugging!

Tags:  debugginglldbpython

Home