Table of Contents

Property Debugger

Namespace
Alternet.Scripter.Debugger.UI
Assembly
Alternet.Scripter.Debugger.UI.v9.dll

Debugger

Gets or sets IScriptDebuggerBase which variables will be managed by this class.

[Browsable(false)]
public IScriptDebuggerBase Debugger { get; set; }

Property Value

IScriptDebuggerBase

Examples

Here is how to use a Debugger in the C# code:

using System;

using Alternet.Scripter.Debugger;
using Alternet.Scripter.Debugger.UI;

public partial class Form1 : Form
{
    private void Form1_Load(object sender, EventArgs e)
    {
        var debugger = new ScriptDebugger();
        var watchesControl = new Watches();
        watchesControl.Dock = System.Windows.Forms.DockStyle.Fill;
        watchesControl.Debugger = debugger;
    }
}

Here is how to use a Debugger in the Visual Basic code:

Imports System

Imports Alternet.Scripter.Debugger
Imports Alternet.Scripter.Debugger.UI

Partial Public Class Form1
    Inherits Form
    Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs)
        Dim debugger = New ScriptDebugger()
        Dim watchesControl = New Watches()
        watchesControl.Dock = Windows.Forms.DockStyle.Fill
        watchesControl.Debugger = debugger
    End Sub
End Class