6. Bdb The ``Bigloo Debugger'' Nov 1999 -- Examining the Stack

main page

top: | Bdb The ``Bigloo Debugger'' Nov 1999

Examining the Stack

Chapters

When your program has stopped, the first thing you need to know is where it stopped and how it got there. All GDB commands apply here See info-file ` gdb.info', Gdb. These commands let you inspect and browse the C stack. In addition you may inspect the stack restricted to Bigloo stack frames.

`info stack`
``
`i s`
``
  Print the current stack frames. These frames may be inspected in turn with the `frame` command.
`info args`
``
`i a`
``
  Print the arguments of the selected frame, each on a separate line.
`cinfo args`
``
`ci a`
``
  If the current stack frame belongs to a Bigloo function then the arguments hold Bigloo values. The `info args` displays the Bigloo values of these arguments. In some situation it is useful to access the C representation for these arguments. This can be achieved by the `cinfo args` command that forces BDB not to interpret the current function as a Bigloo function.
`info locals`
``
`i l`
``
  Print the local variables of the selected frame, each on a separate line.
`cinfo locals`
``
`ci a`
``
  Print the local variables as if they were C variables, each on a separate line.

This Html page has been produced by Skribe.
Last update Thu Jan 24 17:08:37 2013.