 showstop - Maple Programming Help

Home : Support : Online Help : Programming : Debugging : showstop

showstop

display information about breakpoints, watchpoints, and error watchpoints

 Calling Sequence showstop()

Description

 • The showstop function displays a report of all functions containing breakpoints, all watchpoints, and all error watchpoints currently set.

Examples

 > f := proc(x) local y; if x < 2 then y := x; print(y^2) end if; print(-x); x^3 end proc:
 > $\mathrm{stopat}\left(f\right)$
 $\left[{f}\right]$ (1)
 > $\mathrm{stopat}\left(f,2\right)$
 $\left[{f}\right]$ (2)
 > $\mathrm{stopat}\left(\mathrm{int}\right)$
 $\left[{f}{,}{\mathrm{int}}\right]$ (3)
 > $\mathrm{stopwhen}\left(f,y\right)$
 $\left[\left[{f}{,}{y}\right]\right]$ (4)
 > $\mathrm{stopwhen}\left(\mathrm{Digits}\right)$
 $\left[{\mathrm{Digits}}{,}\left[{f}{,}{y}\right]\right]$ (5)
 > $\mathrm{stopwhenif}\left(\mathrm{answer},42\right)$
 $\left[{\mathrm{Digits}}{,}{\mathrm{answer}}{,}\left[{f}{,}{y}\right]\right]$ (6)
 > $\mathrm{stoperror}\left(\mathrm{division by zero}\right)$
 $\left[{"division by zero"}\right]$ (7)
 > $\mathrm{showstop}\left(\right)$
 Breakpoints in:    f    int Watched variables:    Digits    answer = 42    y in procedure f Watched errors:    "division by zero"