class-description NEWS COMMUNITY STORE TUTORIALS SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE TUTORIALS TOGGLE FULLSCREEN VOLLBILD AN/AUS ObjectRefCounted EditorDebuggerSession
A class to interact with the editor debugger.

This class cannot be directly instantiated and must be retrieved via a EditorDebuggerPlugin.

You can add tabs to the session UI via add_session_tab(), send messages via send_message(), and toggle EngineProfilers via toggle_profiler().

Signal breaked<>( bool can_debug=, can_debug:bool=, ):Signal

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

Signal continued<>():Signal

Emitted when the attached remote instance exits a break state.

Signal started<>():Signal

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

Signal stopped<>():Signal

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

void add_session_tab<>( Control control=, control:Control=, ):void

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.

bool is_active<>():bool

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

bool is_breaked<>():bool

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

bool is_debuggable<>():bool

Returns true if the attached remote instance can be debugged.

void remove_session_tab<>( Control control=, control:Control=, ):void

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

void send_message<>( String message=, message:String=, Array data=[], data:Array=[], ):void

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

void set_breakpoint<>( String path=, path:String=, int line=, line:int=, bool enabled=, enabled:bool=, ):void

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

void toggle_profiler<>( String profiler=, profiler:String=, bool enable=, enable:bool=, Array data=[], data:Array=[], ):void

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




All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...