TatScriptBreaks Class
TatScriptBreaks holds a collection of all breakpoints set in the script. Use this collection to programatically add, edit and remove breakpoints in script source code.
Syntax
Unit: atScript
TatScriptBreaks = class(TOwnedCollection);
Methods
| Name | Description |
|---|---|
| Add | Add a new TatScriptBreak object in the TatScriptBreaks collection. You should not usually use Add method. Use ToggleBreak method instead. |
| FindByLine | Retrieves the TatScriptBreak object related to the breakpoint set at the line specified by ALine. If no breakpoint is set at that line, FindByLine returns nil. |
| ToggleBreak | Adds (if it doesn't exist) or removes (if it exists) a breakpoint at the line specified by ALine. |
Properties
| Name | Description |
|---|---|
| Items[Index] | Provides indexed access to all breakpoints set in the script. |