class Godot::DebuggerSessionController

Defined in:

editor/debugger/session_controller.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(session_id : Int32, session : EditorDebuggerSession, lldb_path : String = "lldb") #

[View source]

Instance Method Detail

def attach(pid : Int64) : Bool #

Attaches LLDB to the target process ID


[View source]
def cleanup : Void #

Cleans up active tab and detaches debugger on session end or plugin unload


[View source]
def create_and_add_tab : CrystalLldbSessionTab | Nil #

Creates and embeds the session tab into Godot's Debugger bottom dock


[View source]
def detach : Void #

Detaches LLDB from the process


[View source]
def driver : Debugger::LldbDriver #

[View source]
def lockstep_enabled : Bool #

[View source]
def lockstep_enabled=(lockstep_enabled : Bool) #

[View source]
def lockstep_pause : Void #

Cooperatively pauses this session due to a peer lockstep break event


[View source]
def lockstep_resume : Void #

Cooperatively resumes this session when peer resumes


[View source]
def on_lockstep_signal : Proc(Int32, Bool, Nil) | Nil #

Callback invoked when this session stops or resumes: (origin_session_id, is_paused)


[View source]
def on_lockstep_signal=(on_lockstep_signal : Proc(Int32, Bool, Nil) | Nil) #

Callback invoked when this session stops or resumes: (origin_session_id, is_paused)


[View source]
def poll : Void #

Non-blocking per-frame polling hook


[View source]
def remove_breakpoint(file : String, line : Int32) : Void #

Removes a breakpoint from this session's LLDB instance


[View source]
def role : String #

[View source]
def session : EditorDebuggerSession #

[View source]
def session_id : Int32 #

[View source]
def set_breakpoint(file : String, line : Int32) : Void #

Synchronizes a breakpoint with this session's LLDB instance


[View source]

[View source]
def target_pid : Int64 | Nil #

[View source]
def update_role(role : String, pid : Int64) : Void #

Updates the detected multiplayer role (e.g. Server, Client 1)


[View source]