SwitchToStackFrame - Switches debugging to the given stack frame. StepOut() - Executes remaining lines of the function steps out of the function currently being executed.ĪctivateThread - Switches debugging to the specified thread.
StepOver() - Executes one statement of code steps over the next function call, if possible. StepInto() - Executes one statement of code steps into the next function call, if possible. StopDebuggingAsync - Stops the debugging session.īreak() - Causes the given process to pause its execution so that its current state can be analyzed.Ĭontinue() - Continues given process to the next breakpoint or until process finishes. StartDebugging() - starts executing the program from the entry point.ĪttachToProcessAsync - Attaches to the already started process which scripts are to be debugged. Main component of Script debugging is the ScriptDebugger class, which provides all commonly used debugging features like step by step execution, stopping on breakpoints, examining local variables, expression evaluations, etc.īelow is a summary of ScriptDebugger most essential properties, methods and events: Methods: Script Debugger engine is implemented in assembly and it is based on CLR debugging COM interfaces low-level API to debug. We provide tools to debug script code and a set of UI widgets to build custom debugging interfaces.
Lot of times script debugging is required for the script the users write.