-
Notifications
You must be signed in to change notification settings - Fork 1
Debugging C# Scripts
Main purpose of this library - debugging C# scripts and examining its variables is possible with the DebugEngine
class that implements DbgSharp.IDebuggerEngine
interface. This class can be found in the DbgSharp
namespace. This class cannot be inherited.
Sets input code without breakpoints.
- Input code (type
String
)
Sets input code and breakpoints.
- Breakpoints (which lines to stop at - 1?) (type
Int32[]
) - Input code (type
String
)
Debugs given C# code asynchronously. If there are any breakpoints, stops on the first breakpoint.
Pauses the debugger, as if it was a breakpoint. The debugger may need some time to respond if it's interpreting a line of code that takes a long time to complete.
Stops the debugger. The debugger may need some time to respond if it's interpreting a line of code that takes a long time to complete.
Gets the Script State used by the debugger,
Returns variables from the C# script if the breakpoint was hit or the debugger is paused.