LitDev Extension API

LD3DView LDArray LDBits LDBlueTooth LDCall
LDChart LDClient LDClipboard LDColours LDCommPort
LDController LDControls LDCursors LDDataBase LDDateTime
LDDebug LDDialogs LDDictionary LDEffect LDEmail
LDEncryption LDEvents LDFastArray LDFastShapes LDFigures
LDFile LDFocus LDftp LDGraph LDGraphicsWindow
LDHID LDIcon LDImage LDInline LDIOWarrior
LDList LDLogic LDMath LDMathX LDMatrix
LDMusic LDNetwork LDPhysics LDProcess LDQueue
LDRegex LDResources LDScrollBars LDSearch LDServer
LDSettings LDShapes LDShell LDSort LDSound
LDSpeech LDStatistics LDStopwatch LDText LDTextWindow
LDTimer LDTranslate LDUnits LDUtilities LDVector
LDWaveForm LDWebCam LDWindows LDxml LDZip

Debugging utilities.

Break Instrument Start

Set a break point, where the program will pause and variable values can be viewed.
label 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.

Create a SmallBasic file ( 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.

fileName The Smallbasic file (*.sb) to instrument.

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).