[Editor] Better expose EditorDebuggerPlugin.
Now splitted into two classes: - EditorDebuggerPlugin (RefCounted). - EditorDebuggerSession (abstract). This allows the EditorPlugin to be in control of the debugger plugin lifecycle, be notified when sessions are created, and customize each of them independently. We should slowly transition the various profilers and captures in ScriptEditorDebugger to their own plugins, and decouple ScriptEditorDebugger from it's UI part (making it the "real" EditorDebuggerSession potentially dropping the wrappers).
This commit is contained in:
parent
471c42ee1f
commit
d568b25e36
12 changed files with 371 additions and 202 deletions
|
|
@ -415,7 +415,7 @@
|
|||
</method>
|
||||
<method name="add_debugger_plugin">
|
||||
<return type="void" />
|
||||
<param index="0" name="script" type="Script" />
|
||||
<param index="0" name="script" type="EditorDebuggerPlugin" />
|
||||
<description>
|
||||
Adds a [Script] as debugger plugin to the Debugger. The script must extend [EditorDebuggerPlugin].
|
||||
</description>
|
||||
|
|
@ -599,7 +599,7 @@
|
|||
</method>
|
||||
<method name="remove_debugger_plugin">
|
||||
<return type="void" />
|
||||
<param index="0" name="script" type="Script" />
|
||||
<param index="0" name="script" type="EditorDebuggerPlugin" />
|
||||
<description>
|
||||
Removes the debugger plugin with given script from the Debugger.
|
||||
</description>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue