Top
Back: 5.2.1 break
Forward: 5.2.3 continue
FastBack: 5. Functions and system variables
FastForward: 6. Tricks and pitfalls
Up: 5.2 Control structures
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

5.2.2 breakpoint

Syntax:

breakpoint( proc_name );
breakpoint( proc_name, line_no );

Purpose:

sets a breakpoint at the beginning of the specified procedure or at the given line. Note: Line number 1 is the first line of a library (for procedures from libraries), resp. the line with the {.
A line number of -1 removes all breakpoint from that procedure.

Example:
 
breakpoint(groebner);
→ breakpoint 1, at line 163 in groebner
breakpoint(groebner, 176);
→ breakpoint 2, at line 176 in groebner
breakpoint(groebner, -1);
→ breakpoints in groebner deleted(0x6)

See Source code debugger; ~.


Top Back: 5.2.1 break Forward: 5.2.3 continue FastBack: 5. Functions and system variables FastForward: 6. Tricks and pitfalls Up: 5.2 Control structures 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.