class

Godot::Debugger::LldbDriver

Inherits Reference < Object

Constructors

new(lldb_path : String = "lldb")
Source

Class methods

available?(custom_path : String | Nil = nil) : Bool

Returns true if LLDB is available

Source
find_lldb(custom_path : String | Nil = nil) : String | Nil

Discovers the lldb executable on the system

Source

Instance methods

attach(pid : Int64) : Bool

Starts the LLDB subprocess and attaches to a target PID

Source
attached_pid
Source
breakpoints
Source
continue_exec

Resumes execution

Source
detach

Detaches LLDB cleanly

Source
evaluate(expr : String) : Void

Evaluates an expression

Source
interrupt_exec

Interrupts/pauses execution

Source
on_continue
Source
on_continue=(on_continue : Proc(Nil) | Nil)
Source
on_exit
Source
on_exit=(on_exit : Proc(Int32, Nil) | Nil)
Source
on_output
Source
on_output=(on_output : Proc(String, Nil) | Nil)
Source
on_stop
Source
on_stop=(on_stop : Proc(StopInfo, Nil) | Nil)
Source
parse_frame_line(line : String) : StackFrame | Nil

Extracts StackFrame from LLDB frame line e.g.: " frame #0: 0x00007ff812345678 game.dll`Player#_physics_process(self=0x...) at player.cr:42:5"

Source
parse_stop_info(line : String) : StopInfo

Parses stop event string into StopInfo

Source
poll

Pumps background events non-blockingly on the Godot main thread

Source
remove_breakpoint(id : Int32) : Bool

Removes a breakpoint by ID

Source
request_backtrace

Requests call stack backtrace

Source
request_variables

Requests local variables

Source
send_command(cmd : String) : Void

Sends a raw command line to LLDB

Source
set_breakpoint(file : String, line : Int32) : BreakpointInfo

Sets a breakpoint at the given file and line

Source
state
Source
step_into

Step into function

Source
step_out

Step out of function

Source
step_over

Step over (next source line)

Source