Method OnDebuggerChanged
- Namespace
- Alternet.Scripter.Debugger.UI.AlternetUI
- Assembly
- Alternet.Scripter.Debugger.UI.AlternetUI.v10.dll
OnDebuggerChanged(IScriptDebuggerBase?, IScriptDebuggerBase?)
Handles changes to the associated script debugger.
protected virtual void OnDebuggerChanged(IScriptDebuggerBase? oldVal, IScriptDebuggerBase? newVal)
Parameters
oldVal
IScriptDebuggerBaseThe previous debugger instance, or null if there was no prior debugger.
newVal
IScriptDebuggerBaseThe new debugger instance, or null if the debugger is being removed.
Remarks
This method updates event subscriptions and disposes of resources associated with the previous debugger. If a new debugger is provided, it initializes the necessary components for evaluating and displaying results.