BadScript 2
Loading...
Searching...
No Matches
BadDebuggerExtensions.cs
Go to the documentation of this file.
2
3namespace BadScript2.Debugger;
4
8public static class BadDebuggerExtensions
9{
15 public static BadRuntime UseConsoleDebugger(this BadRuntime runtime)
16 {
17 return runtime
18 .UseDebuggerExtensions()
20 }
21
27 public static BadRuntime UseDebuggerExtensions(this BadRuntime runtime)
28 {
29 return runtime.UseExtension<BadScriptDebuggerExtension>();
30 }
31
38 public static BadRuntime UseScriptDebugger(this BadRuntime runtime, string? debuggerPath = null)
39 {
40 return runtime.UseDebuggerExtensions()
41 .UseDebugger(debuggerPath == null ? new BadScriptDebugger(runtime) : new BadScriptDebugger(runtime, debuggerPath));
42 }
43}
Exposes the BadScript Runtime Functionality to Consumers.
Definition BadRuntime.cs:28
BadRuntime UseDebugger(IBadDebugger debugger)
Configures the Runtime to use the specified Debugger.
Implements a Simple Console Debugger.
Debugger Extensions for the BadScript Runtime.
static BadRuntime UseDebuggerExtensions(this BadRuntime runtime)
Configures the Runtime to use the Debugger Extensions.
static BadRuntime UseConsoleDebugger(this BadRuntime runtime)
Configures the Runtime to use the Console Debugger.
static BadRuntime UseScriptDebugger(this BadRuntime runtime, string? debuggerPath=null)
Configures the Runtime to use the Script Debugger.
Implements Interop Extensions for the Debugger Objects.
Contains the scriptable debugger implementation for the BadScript2 Runtime.
Contains the debugger implementations for the BadScript2 Runtime.