Debugging C (Debugging with ROCGDB)

Next: Debugging C Plus Plus, Previous: C Checks, Up: C [Contents][Index]

#### 15.4.1.6 ROCGDB 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.