Top
Back: Source code debugger
Forward: Printing of data
FastBack: Libraries
FastForward: Dynamic loading
Up: Debugging tools
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

3.9.4 Break points

A break point can be put into a proc by inserting the command ~. If Singular reaches a break point it asks for lines of commands (line-length must be less than 80 characters) from the user. It returns to normal execution if given an empty line. See ~.

Example:
 
proc t
{
  int i=2;
  ~;
  return(i+1);
}
t();
==> -- break point in t --
==> -- 0: called    from STDIN --
i;               // here local variables of the procedure can be accessed
==> 2
==> -- break point in t --

==> 3


Top Back: Source code debugger Forward: Printing of data FastBack: Libraries FastForward: Dynamic loading Up: Debugging tools Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.3.1, 2022, generated by texi2html.