C and C++ SoftBench User's Guide

Using SoftBench Debugger
Debugging C++ Programs
Chapter 7 223
Debugging C++ Programs
If you have installed C++ SoftBench, the following features support
debugging of C++ programs (see also “Setting C++ Breakpoints” on page
197):
C++ name handling: SoftBench Debugger lets you debug using your
actual C++ variable and function names, without
worrying about the underlying naming system. This
means that you can highlight C++ text in the source
view window and act upon it using SoftBench
Debugger commands. The highlighted text becomes the
"()" entry for use in your debugging sessions.
Overloaded functions and operators: SoftBench Debugger displays
ambiguous overloaded functions or operators along
with their arguments. You resolve the ambiguity by
selecting the appropriate function. You can also set
breakpoints at all overloaded functions or operators
specified with a given name using a single command.
C++ scope rules: SoftBench Debugger conforms to C++ scope rules by
allowing access to identifiers either directly from
within its scope or by means of the C++ scoping
operator ("::") from outside its scope.
C++ data types: SoftBench Debugger provides full support for C++
constant types, enumeration types, anonymous unions,
and type conversions.
Classes and objects: You can view simple or extended versions of class
information. That is, you have the choice of whether to
display inheritance members with the extended
version. The function and data members of a class can
be accessed with dot ("."), arrow ("->"), andscope ("::")
operators.
Class commands: SoftBench Debugger provides powerful commands
which allow you to access all members of a class. You
can choose to list or set breakpoints at all member
functions of a class with a single command.