set print static-members (gdb mode only)

Print static members when showing a C++ object.

Syntax

set print static-members [on | off]

Parameters

on

The debugger prints static members.

This is the default.

off

The debugger does not print static members.

Description

This command enables or disables printing static members when showing a C++ object.

Example

(idb) set print stat off
(idb) p *jb
$3 = {JBfoo = 1}
(idb) set print stat on
(idb) p *jb
$4 = {JBfoo = 1, static yoyo = 99}
(idb)   

See Also


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.