C# Класс LitDev.LDDebug

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
applicationThread Thread
breakLabels List
breakText List
currentThread Thread
ignoreAllBreaks bool
ignoreBreaks List
includeAllBreaks bool
running bool
stepOut int

Открытые методы

Метод Описание
Break ( Primitive label ) : void

Set a break point, where the program will pause and variable values can be viewed.

Instrument ( Primitive fileName ) : void

Create a SmallBasic file (_debug.sb) with break points auto added for each line. Just open and run the new instrumented file to debug it. When a problem is found, correct it in your original and re-instrument to debug the corrected file.

Start ( ) : void

Start a debugging session, usually do this as the first line of your program. Usually you would either set break points manually in your code before running (LDDebug.Break) or auto add breakpoints (LDDebug.Instrument).

Приватные методы

Метод Описание
RunDebug ( ) : void
checkCondition ( string value1, string value2 ) : bool
isCondition ( ) : bool
setLabels ( ) : void

Описание методов

Break() публичный статический Метод

Set a break point, where the program will pause and variable values can be viewed.
public static Break ( Primitive label ) : void
label Primitive An identification label for the breakpoint. /// A unique label should be chosen for each breakpoint defined. /// There are some known limitations with breakpoints inside event subroutines.
Результат void

Instrument() публичный статический Метод

Create a SmallBasic file (_debug.sb) with break points auto added for each line. Just open and run the new instrumented file to debug it. When a problem is found, correct it in your original and re-instrument to debug the corrected file.
public static Instrument ( Primitive fileName ) : void
fileName Primitive The Smallbasic file (*.sb) to instrument.
Результат void

Start() публичный статический Метод

Start a debugging session, usually do this as the first line of your program. Usually you would either set break points manually in your code before running (LDDebug.Break) or auto add breakpoints (LDDebug.Instrument).
public static Start ( ) : void
Результат void

Описание свойств

applicationThread публичное статическое свойство

public static Thread applicationThread
Результат Thread

breakLabels публичное статическое свойство

public static List breakLabels
Результат List

breakText публичное статическое свойство

public static List breakText
Результат List

currentThread публичное статическое свойство

public static Thread currentThread
Результат Thread

ignoreAllBreaks публичное статическое свойство

public static bool ignoreAllBreaks
Результат bool

ignoreBreaks публичное статическое свойство

public static List ignoreBreaks
Результат List

includeAllBreaks публичное статическое свойство

public static bool includeAllBreaks
Результат bool

running публичное статическое свойство

public static bool running
Результат bool

stepOut публичное статическое свойство

public static int stepOut
Результат int