C# Class LitDev.LDDebug

Afficher le fichier Open project: litdev1/LitDev

Méthodes publiques

Свойство Type Description
applicationThread Thread
breakLabels List
breakText List
currentThread Thread
ignoreAllBreaks bool
ignoreBreaks List
includeAllBreaks bool
running bool
stepOut int

Méthodes publiques

Méthode Description
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).

Private Methods

Méthode Description
RunDebug ( ) : void
checkCondition ( string value1, string value2 ) : bool
isCondition ( ) : bool
setLabels ( ) : void

Method Details

Break() public static méthode

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.
Résultat void

Instrument() public static méthode

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.
Résultat void

Start() public static méthode

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
Résultat void

Property Details

applicationThread public_oe static_oe property

public static Thread applicationThread
Résultat Thread

breakLabels public_oe static_oe property

public static List breakLabels
Résultat List

breakText public_oe static_oe property

public static List breakText
Résultat List

currentThread public_oe static_oe property

public static Thread currentThread
Résultat Thread

ignoreAllBreaks public_oe static_oe property

public static bool ignoreAllBreaks
Résultat bool

ignoreBreaks public_oe static_oe property

public static List ignoreBreaks
Résultat List

includeAllBreaks public_oe static_oe property

public static bool includeAllBreaks
Résultat bool

running public_oe static_oe property

public static bool running
Résultat bool

stepOut public_oe static_oe property

public static int stepOut
Résultat int