Debugging with GDB

Node:Debugging C, Next:Debugging C plus plus, Previous:C Checks, Up:C

##### GDB and C

The `set print union` and `show print union` commands apply to the `union` type. When set to `on`, any `union` that is inside a `struct` or `class` is also printed. Otherwise, it appears as `{...}`.

The `@` operator aids in the debugging of dynamic arrays, formed with pointers and a memory allocation function. See Expressions.