Top
Back: Source code debugger
Forward: Printing of data
FastBack: Guidelines for writing a library
FastForward: Data types
Up: Debugging tools
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: Index
About: About this document

3.10.3 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: Guidelines for writing a library FastForward: Data types Up: Debugging tools Top: Singular 2-0-4 Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 2-0-4, May 2003, generated by texi2html.