Goto Chapter: Top 1 2 Ind
 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 

2 Functionality
 2.1 Function Descriptions
 2.2 Information in the Break loop

2 Functionality

2.1 Function Descriptions

2.1-1 AddBreakpoint
‣ AddBreakpoint( file, line[, function] )( function )

Adds a breakpoint to all loaded files whose name ends file, at line line. Optionally a function to call can be given. The default function enters the break loop.

2.1-2 ClearBreakpoint
‣ ClearBreakpoint( file, line )( function )

Remove all breakpoints in loaded files whose name ends file which occur at line line.

2.1-3 ClearAllBreakpoints
‣ ClearAllBreakpoints( )( function )

Remove all breakpoints

2.1-4 ListBreakpoints
‣ ListBreakpoints( )( function )

List all breakpoints. Returns a list of triples, consisting of file, line, and the function called.

2.1-5 BreakNextLine
‣ BreakNextLine( [function] )( function )

Triggers function next time a new line of code begins execution. by default, function will enter the break loop.

Breaking on the next line is disabled by passing fail.

function, if defined, should accept no arguments.

2.1-6 BreakEveryLine
‣ BreakEveryLine( [function] )( function )

Triggers function every time a new line of code begin execution. by default, function will enter the break loop.

Breaking on every line is disabled by passing fail.

function, if defined, should accept two arguments. These are the fileid and line number. The fileid is an index into the array of files returned by GET_FILENAME_CACHE().

2.1-7 BreakNextEnterFunction
‣ BreakNextEnterFunction( [func] )( function )

Calls func before the next time execution of a function begins. By default, func will enter the break loop.

Breaking on entry to the next function is disabled by passing fail.

func, if defined, should accept one argument, which will be the function being called.

2.1-8 BreakEveryEnterFunction
‣ BreakEveryEnterFunction( [func] )( function )

Calls func before the execution of any function begins. By default, func will enter the break loop.

Breaking on entry to functions is disabled by passing fail.

func, if defined, should accept one argument, which will be the function being called.

2.1-9 BreakNextLeaveFunction
‣ BreakNextLeaveFunction( [func] )( function )

Calls func before the next time execution of a function ends. By default, func will enter the break loop.

Breaking on exit of the next function is disabled by passing fail.

func, if defined, should accept one argument, which will be the function which is returning.

2.1-10 BreakEveryLeaveFunction
‣ BreakEveryLeaveFunction( [func] )( function )

Calls func before the execution of any function ends. By default, func will enter the break loop.

Breaking on exit of functions is disabled by passing fail.

func, if defined, should accept one argument, which will be the function which is returning.

2.2 Information in the Break loop

2.2-1 ShowLocals
‣ ShowLocals( arg )( function )

Show arguments and local variables of the current function, and their current values

 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 
Goto Chapter: Top 1 2 Ind

generated by GAPDoc2HTML