Interface IDebugger
- Namespace
- MoonSharp.Interpreter.Debugging
- Assembly
- Assembly-CSharp.dll
public interface IDebugger
- Extension Methods
-
Methods
GetAction(int, SourceRef)
DebuggerAction GetAction(int ip, SourceRef sourceref)
Parameters
ip int
sourceref SourceRef
Returns
- DebuggerAction
GetDebuggerCaps()
DebuggerCaps GetDebuggerCaps()
Returns
- DebuggerCaps
GetWatchItems()
List<DynamicExpression> GetWatchItems()
Returns
- List<DynamicExpression>
IsPauseRequested()
Returns
- bool
RefreshBreakpoints(IEnumerable<SourceRef>)
void RefreshBreakpoints(IEnumerable<SourceRef> refs)
Parameters
refs IEnumerable<SourceRef>
SetByteCode(string[])
void SetByteCode(string[] byteCode)
Parameters
byteCode string[]
SetDebugService(DebugService)
void SetDebugService(DebugService debugService)
Parameters
debugService DebugService
SetSourceCode(SourceCode)
void SetSourceCode(SourceCode sourceCode)
Parameters
sourceCode SourceCode
SignalExecutionEnded()
void SignalExecutionEnded()
SignalRuntimeException(ScriptRuntimeException)
bool SignalRuntimeException(ScriptRuntimeException ex)
Parameters
ex ScriptRuntimeException
Returns
- bool
Update(WatchType, IEnumerable<WatchItem>)
void Update(WatchType watchType, IEnumerable<WatchItem> items)
Parameters
watchType WatchType
items IEnumerable<WatchItem>