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
|
|