| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
6 Examining the Stack
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 (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 stacki s-
Print the current stack frames. These frames may be inspected in turn with the
framecommand. info argsi a-
Print the arguments of the selected frame, each on a separate line.
cinfo argsci a-
If the current stack frame belongs to a Bigloo function then the arguments hold Bigloo values. The
info argsdisplays 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 thecinfo argscommand that forces BDB not to interpret the current function as a Bigloo function. info localsi l-
Print the local variables of the selected frame, each on a separate line.
cinfo localsci a-
Print the local variables as if they were C variables, each on a separate line.
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on March 31, 2014 using texi2html 5.0.
