Combining Embedded and Interactive Python in a Debugger - A Case Study
Explore the integration of embedded and interactive Python in a debugger through this 52-minute EuroPython 2011 conference talk. Delve into the LLDB debugger, its library uses, and key components like targets, processes, breakpoints, frames, and stacks. Learn about desired GUI debugger behavior, the importance of scripting in debuggers, and LLDB's Python extensions. Discover the implementation of interactive Python interpreters and one-line script commands, including how dictionaries work and command invocation. Examine the LLDB Python API module construction and address specific challenges in debugger development. Gain insights into debugger-level dictionaries, breakpoint commands, and dictionary management. Follow a practical example using a simple dictionary program to demonstrate searching a binary search tree without restarting the program, utilizing both interactive interpreter and Python breakpoint commands.