Oracle® Solaris Studio 12.4: Debugging a Program With dbx

Exit Print View

Updated: January 2015
 
 

Using dbx With C++

Although this chapter concentrates on two specific aspects of debugging C++, dbx provides full functionality when debugging your C++ programs. You can still do the following tasks with your C++ program:


Note -  All the following tasks have been explored in previous chapters.
Find out about class and type definitions
Print or display inherited data members
Find out dynamic information about an object pointer
Debug virtual functions
Debug virtual functions
Using runtime type information
Set breakpoints on all member functions of a class
Set breakpoints on all overloaded member functions
Set breakpoints on all overloaded nonmember functions
Set breakpoints on all member functions of a particular object
Deal with overloaded functions or data members

The rest of this chapter concentrates on two specific aspects of debugging C++.