reckfellENGINE

EditorDebuggerSession

A class to interact with the editor debugger.

On this page
class EditorDebuggerSessionReckfellSharpEditorInherits RefCounted

A class to interact with the editor debugger.

This class cannot be directly instantiated and must be retrieved via an EditorDebuggerPlugin. You can add tabs to the session UI via EditorDebuggerSession.AddSessionTab, send messages via EditorDebuggerSession.SendMessage, and toggle EngineProfilers via EditorDebuggerSession.ToggleProfiler.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Methods8

AddSessionTabvoid
# AddSessionTab
C#
public void AddSessionTab(Control control);

Adds the given control to the debug session UI in the debugger bottom panel. The control's node name will be used as the tab title.

Parameters
NameTypeDefault
controlControl—
IsActivebool
# IsActive
C#
public bool IsActive();

Returns true if the debug session is currently attached to a remote instance.

Returns bool
IsBreakedbool
# IsBreaked
C#
public bool IsBreaked();

Returns true if the attached remote instance is currently in the debug loop.

Returns bool
IsDebuggablebool
# IsDebuggable
C#
public bool IsDebuggable();

Returns true if the attached remote instance can be debugged.

Returns bool
RemoveSessionTabvoid
# RemoveSessionTab
C#
public void RemoveSessionTab(Control control);

Removes the given control from the debug session UI in the debugger bottom panel.

Parameters
NameTypeDefault
controlControl—
SendMessagevoid
# SendMessage
C#
public void SendMessage(string message, Reckfell.Collections.Array data = null);

Sends the given message to the attached remote instance, optionally passing additionally data. See EngineDebugger for how to retrieve those messages.

Parameters
NameTypeDefault
messagestring—
dataReckfell.Collections.Arraynull
SetBreakpointvoid
# SetBreakpoint
C#
public void SetBreakpoint(string path, int line, bool enabled);

Enables or disables a specific breakpoint based on enabled, updating the Editor Breakpoint Panel accordingly.

Parameters
NameTypeDefault
pathstring—
lineint—
enabledbool—
ToggleProfilervoid
# ToggleProfiler
C#
public void ToggleProfiler(string profiler, bool enable, Reckfell.Collections.Array data = null);

Toggle the given profiler on the attached remote instance, optionally passing additionally data. See EngineProfiler for more details.

Parameters
NameTypeDefault
profilerstring—
enablebool—
dataReckfell.Collections.Arraynull

Signals and events4

BreakedEvent
# Breaked
C#
public event EditorDebuggerSession.BreakedEventHandler Breaked;

Emitted when the attached remote instance enters a break state. If can_debug is true, the remote instance will enter the debug loop.

Handler parameters
NameTypeDefault
canDebugbool—
ContinuedEvent
# Continued
C#
public event Action Continued;

Emitted when the attached remote instance exits a break state.

StartedEvent
# Started
C#
public event Action Started;

Emitted when a remote instance is attached to this session (i.e. the session becomes active).

StoppedEvent
# Stopped
C#
public event Action Stopped;

Emitted when a remote instance is detached from this session (i.e. the session becomes inactive).

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.