• HOME
  • PRODUCTS
  • DEMOS
  • BUY
  • BLOG
  • FORUM
  • DOCUMENTATION
  • ABOUT
  • FREE EVALUATION
Search Results for

    Show / Hide Table of Contents

    ScriptDebugger Class

    Definition

    Namespace: Alternet.Scripter.Debugger.Python
    Assembly: Alternet.Scripter.Python.Debugger.v8.dll

    Enables communication with a debugger.

    Inheritance
    Object
    ScriptDebugger
    Implements
    IScriptDebugger
    IScriptDebuggerBase
    Syntax
    public class ScriptDebugger : IScriptDebugger, IScriptDebuggerBase

    Properties

    BreakOnExceptions

    Gets or sets a boolean flag that indicates whether the debugger should break on script exceptions. Default is false.

    Breakpoints

    Returns collection of debugger breakpoints.

    Capabilities
    EventsSyncAction

    Gets or sets an action used to synchronize events raising. This is normally a function provided by the application to sync raised debugger events (for example, perform Control.Invoke)

    ExpressionEvaluator

    Gets IExpressionEvaluator object used to evaluate expressions.

    IsStarted

    Indicates whether debugging was started.

    ScopeResolutionService

    Gets IExpressionEvaluator object used to evaluate expressions.

    ScriptRun
    State

    Gets current debugger state.

    Methods

    ActivateThread(Int32)
    AddBreakpoint(String, Int32)

    Adds a Breakpoint to the list.

    Break()
    ClearTemporaryGeneratedModules()
    Continue()
    EnableBreakpoint(String, Int32, Boolean)

    Enables or disables breakpoint at specified position.

    EvaluateCurrentExceptionAsync(CancellationToken)
    EvaluateExpressionAsync(ExpressionEvaluationRequest, CancellationToken)
    EvaluateExpressionsAsync(IEnumerable<ExpressionEvaluationRequest>, CancellationToken)
    GetExecutionPositionAsync(CancellationToken)
    GetStackFramesAsync(CancellationToken)
    GetThreadsAsync(CancellationToken)
    GetVariablesInScopeAsync(CancellationToken)
    RaiseActiveThreadChanged(ActiveThreadChangedEventArgs)
    RaiseBeforeContinue()
    RaiseBeforeStep()
    RaiseBeforeStop()
    RaiseDebuggerErrorOccured(DebuggerErrorOccuredEventArgs)
    RaiseDebuggingStarted(DebuggingStartedEventArgs)
    RaiseDebuggingStopped(DebuggingStoppedEventArgs)
    RaiseExecutionResumed(ExecutionResumedEventArgs)
    RaiseExecutionStopped(ExecutionStoppedEventArgs)
    RaiseLogMessageReceived(LogMessageReceivedEventArgs)
    RaiseStackFrameSwitched(StackFrameSwitchedEventArgs)
    RaiseStateChanged(DebuggerStateChangedEventArgs)
    RemoveBreakpoint(String, Int32)

    Removes a Breakpoint from the list.

    SetRunToPositionBreakpoint(RunToPositionBreakpoint)
    StartDebugging()
    StartDebugging(StartDebuggingOptions)
    StepInto()
    StepOut()
    StepOver()
    StopDebuggingAsync(CancellationToken)
    SwitchToStackFrame(StackFrame)
    TrySetNextStatementAsync(Int32, CancellationToken)

    Events

    ActiveThreadChanged
    BeforeContinue

    Occurs before debugger continues to program execution.

    BeforeStep

    Occurs before debugger performs a step.

    BeforeStop

    Occurs before debugger stop debugging.

    DebuggerErrorOccured
    DebuggingStarted
    DebuggingStopped
    ExecutionResumed
    ExecutionStopped
    LogMessageReceived
    SourceFileLocationResolve

    Occurs when source file location resolution is requested.

    StackFrameSwitched
    StateChanged

    Explicit Interface Implementations

    IScriptDebuggerBase.ScriptRun
    IScriptDebugger.ScriptRun
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()

    Implements

    IScriptDebugger
    IScriptDebuggerBase
    In This Article
    Back to top Copyright AlterNET Software Download PDF