I am interested in displaying a struct / class object in a specific way using Netbean's default GDB debugger for C and C++ projects so I can step through the code quicker. For Java there is an easy way to do this using the "Variable Formatters" section under Tools -> Options -> Misc -> Variable Formatters. I am looking for something similar for C / C++. Does this method exist?

EDIT: To clarify my question, in the debugger variables tag there is a "Value" column. I wish to represent this as a call from an object, for example `printf("%s", MyObject.getHeight());`