GNU Info

Info Node: (idlwave)Breakpoints and Stepping

(idlwave)Breakpoints and Stepping


Next: Examining Variables Prev: Compiling Programs Up: Debugging IDL Programs
Enter node , (file) or (file)node

Breakpoints and Stepping
------------------------

   You can set breakpoints and step through a program with IDLWAVE.
Setting a breakpoint in the current line of the source buffer is done
with `C-c C-d C-b' (`idlwave-shell-break-here').  With a prefix arg of
1, the breakpoint gets a `/ONCE' keyword, meaning that it will be
deleted after first use.  With a numeric prefix greater than one, the
breakpoint will only be active the `nth' time it is hit.  To clear the
breakpoint in the current line, use `C-c C-d C-d'
(`idlwave-clear-current-bp').  To clear all breakpoints, use `C-c C-d
C-a' (`idlwave-clear-all-bp').  Breakpoint lines are highlighted in the
source code.

   Once the program has stopped somewhere, you can step through it.
Here is a summary of the breakpoint and stepping commands:

`C-c C-d C-b'     Set breakpoint (`idlwave-shell-break-here')
`C-c C-d C-i'     Set breakpoint in function named here
                  (`idlwave-shell-break-in')
`C-c C-d C-d'     Clear current breakpoint
                  (`idlwave-shell-clear-current-bp')
`C-c C-d C-a'     Clear all breakpoints (`idlwave-shell-clear-all-bp')
`C-c C-d C-s'     Step, into function calls (`idlwave-shell-step')
`C-c C-d C-n'     Step, over function calls (`idlwave-shell-stepover')
`C-c C-d C-k'     Skip one statement (`idlwave-shell-skip')
`C-c C-d C-u'     Continue to end of block (`idlwave-shell-up')
`C-c C-d C-m'     Continue to end of function (`idlwave-shell-return')
`C-c C-d C-o'     Continue past end of function (`idlwave-shell-out')
`C-c C-d C-h'     Continue to line at cursor position
                  (`idlwave-shell-to-here')
`C-c C-d C-r'     Continue execution to next breakpoint
                  (`idlwave-shell-cont')
`C-c C-d C-up'    Show higher level in calling stack
                  (`idlwave-shell-stack-up')
`C-c C-d C-down'  Show lower level in calling stack
                  (`idlwave-shell-stack-down')

 - User Option: idlwave-shell-mark-breakpoints (`t')
     Non-`nil' means, mark breakpoints in the source file buffers.  The
     value indicates the preferred method.  Legal values are `nil',
     `t', `face', and `glyph'.

 - User Option: idlwave-shell-breakpoint-face
     The face for breakpoint lines in the source code if
     `idlwave-shell-mark-breakpoints' has the value `face'.


automatically generated by info2www version 1.2.2.9