Top
Back: 3.10.2 Source code debugger
Forward: 3.10.4 Printing of data
FastBack: 3. General concepts
FastForward: 4. Data types
Up: 3.10 Debugging tools
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. 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: 3.10.2 Source code debugger Forward: 3.10.4 Printing of data FastBack: 3. General concepts FastForward: 4. Data types Up: 3.10 Debugging tools Top: Singular 2-0-4 Manual Contents: Table of Contents Index: F. Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.