class
Godot::Debugger::LldbDriver
- Godot::Debugger::LldbDriver
- Reference
- Object
Defined in:
libgodot/debugger/lldb_driver.crConstructors
Class Method Summary
-
.available?(custom_path : String | Nil = nil) : Bool
Returns true if LLDB is available
-
.find_lldb(custom_path : String | Nil = nil) : String | Nil
Discovers the lldb executable on the system
Instance Method Summary
-
#attach(pid : Int64) : Bool
Starts the LLDB subprocess and attaches to a target PID
- #attached_pid : Int64 | Nil
- #breakpoints : Hash(Int32, BreakpointInfo)
-
#continue_exec : Void
Resumes execution
-
#detach : Void
Detaches LLDB cleanly
-
#evaluate(expr : String) : Void
Evaluates an expression
-
#interrupt_exec : Void
Interrupts/pauses execution
- #on_continue : Proc(Nil) | Nil
- #on_continue=(on_continue : Proc(Nil) | Nil)
- #on_exit : Proc(Int32, Nil) | Nil
- #on_exit=(on_exit : Proc(Int32, Nil) | Nil)
- #on_output : Proc(String, Nil) | Nil
- #on_output=(on_output : Proc(String, Nil) | Nil)
- #on_stop : Proc(StopInfo, Nil) | Nil
- #on_stop=(on_stop : Proc(StopInfo, Nil) | Nil)
-
#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"
-
#parse_stop_info(line : String) : StopInfo
Parses stop event string into StopInfo
-
#poll : Void
Pumps background events non-blockingly on the Godot main thread
-
#remove_breakpoint(id : Int32) : Bool
Removes a breakpoint by ID
-
#request_backtrace : Void
Requests call stack backtrace
-
#request_variables : Void
Requests local variables
-
#send_command(cmd : String) : Void
Sends a raw command line to LLDB
-
#set_breakpoint(file : String, line : Int32) : BreakpointInfo
Sets a breakpoint at the given file and line
- #state : DriverState
-
#step_into : Void
Step into function
-
#step_out : Void
Step out of function
-
#step_over : Void
Step over (next source line)
Constructor Detail
Class Method Detail
Returns true if LLDB is available
Discovers the lldb executable on the system
Instance Method Detail
Extracts StackFrame from LLDB frame line e.g.: " frame #0: 0x00007ff812345678 game.dll`Player#_physics_process(self=0x...) at player.cr:42:5"
Parses stop event string into StopInfo
Sets a breakpoint at the given file and line