Python Extensions#

LLDB provides scriptable extensions to augment the debugger’s capabilities. This gives users the ability to tailor their debugging experience to their own needs.

This page describes some of these scripting extensions:

Operating System Thread Plugins#

Classes#

OperatingSystem(process)

Class that provides data for an instance of a LLDB 'OperatingSystemPython' plug-in class.

Scripted Process Plugins#

Classes#

PassthroughScriptedProcess(exe_ctx, args[, ...])

PassthroughScriptedThread(process, args)

ScriptedProcess(exe_ctx, args)

The base class for a scripted process.

ScriptedThread(process, args)

The base class for a scripted thread.

Scripted Platform Plugins#

Classes#

ScriptedPlatform(exe_ctx, args)

The base class for a scripted platform.

Scripted Thread Plan Plugins#

Classes#

ScriptedThreadPlan(thread_plan)

Class that provides data for an instance of a LLDB 'ScriptedThreadPlan' plug-in class used to construct custom stepping logic.