Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Combining Embedded and Interactive Python in a Debugger - A Case Study

EuroPython Conference via YouTube

Overview

Explore a case study on integrating embedded and interactive Python within a debugger at the EuroPython 2011 conference. Delve into the implementation of interactive Python interpreters and one-line script commands in LLDB extensions. Learn about passing pointers and C++ objects to Python, managing debugger-level dictionaries, and addressing challenges with breakpoint commands. Discover techniques for searching trees without restarting programs and leveraging Python in GUI debugger environments. Gain insights into the practical applications of Python scripting within debugging tools through this comprehensive 52-minute talk by Caroline Tice.

Syllabus

Intro
OUTLINE
FRAMES & STACKS
DESIRED GUI DEBUGGER BEHAVIOR
WHY SCRIPTING IN A DEBUGGER?
LLDB EXTENSIONS FOR PYTHON
IMPLEMENTING INTERACTIVE PYTHON INTERPRETER
IMPLEMENTING ONE- LINE SCRIPT COMMANDS
HOW THE DICTIONARIES WORK (1)
INVOKING ONE-LINE SCRIPT COMMANDS
INVOKING INTERACTIVE SCRIPT INTERPRETER
COMMANDS - CREATE
PASSING POINTERS & C++ OBJECTS TO PYTHON
GETTING A SINGLE OBJECT ACROSS THE DEBUGGER
WHY A DEBUGGER- LEVEL DICTIONARY?
INTERACTIVE INTERPRETER & ONE LINE COMMANDS
BREAKPOINT COMMANDS: A PROBLEM
DICTIONARY SET-UP
DICTIONARY CLEAN-UP
PY NEWINTERPRETER?
GUI DEBUGGER PYTHON REQUIREMENTS
THE PLAN Searching Tree Without Restarting Program
USING THE INTERACTIVE INTERPRETER
PYTHON BREAKPOINT COMMAND (At Decision to Follow Right Child)
SUMMARY

Taught by

EuroPython Conference

Reviews

Start your review of Combining Embedded and Interactive Python in a Debugger - A Case Study

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.