Skip to content

gap-packages/debugger

Repository files navigation

Build Status Code Coverage

The GAP 4 package `debugger'

This package provides some common features from debuggers.

At present, there are two main features:

  • Breakpoints
  • The function AddBreakpoint(filename, line) will force GAP to break when is reaches lines 'line' in file 'filename.
  • Controlling when to enter the break loop.
  • Once in the break loop, function BreakNextLine will make GAP break on the next line. Users can also break on:
    • BreakNextEnterFunction, BreakEveryEnterFunction
    • BreakNextLeaveFunction, BreakEveryLeaveFunction
  • Pretty print the state of variables
  • ShowLocals prints the variables of the current function