Public Debugger Interface.
More...
|
static void | Attach (IBadDebugger debugger) |
| Attaches a debugger to the system.
|
|
static void | Detach () |
| Detaches the debugger from the system.
|
|
|
static bool | IsAttached [get, private set] |
| True if a debugger is attached.
|
|
Public Debugger Interface.
Definition at line 12 of file BadDebugger.cs.
◆ Attach()
static void BadScript2.Debugging.BadDebugger.Attach |
( |
IBadDebugger |
debugger | ) |
|
|
static |
Attaches a debugger to the system.
- Parameters
-
debugger | The debugger to attach. |
- Exceptions
-
BadRuntimeException | Gets raised if there is already a debugger attached |
Definition at line 29 of file BadDebugger.cs.
30 {
32 {
34 }
35
39 }
Public facing interface for a logger.
static void Warn(string message)
Writes a Warning to the Message Handler.
static ? IBadDebugger s_Debugger
The currently attached debugger.
static bool IsAttached
True if a debugger is attached.
Gets thrown by the runtime.
◆ Detach()
static void BadScript2.Debugging.BadDebugger.Detach |
( |
| ) |
|
|
static |
Detaches the debugger from the system.
Definition at line 44 of file BadDebugger.cs.
◆ Step()
static void BadScript2.Debugging.BadDebugger.Step |
( |
BadDebuggerStep |
stepInfo | ) |
|
|
staticpackage |
Sends a step event to the debugger.
- Parameters
-
Definition at line 55 of file BadDebugger.cs.
56 {
58 }
void Step(BadDebuggerStep stepInfo)
Gets called on every step when the Debugger is attached.
◆ s_Debugger
◆ IsAttached
bool BadScript2.Debugging.BadDebugger.IsAttached |
|
staticgetprivate set |
The documentation for this class was generated from the following file: