HP-UX Programming Tools Release Notes

Chapter 4 21
Problem Descriptions and Fixes
Problems and Limitations
Problems and Limitations
General limitations of HP DDE
HP DDE does not debug the following types of code:
Executables compiled with +objdebug
Core files with Shared Memory (SHM) data
Executables linked with filter libraries
Displaying Information for Classes in a Shared
Library (aC++)
When working with the HP aC++ compiler, HP DDE cannot display the
class information for the classes defined in a shared library. However,
aC++ applications compiled with -g0 can be debugged by DDE. In this
instance, DDE displays the class information in shared libraries for all of
the classes except for the classes with a virtual function.
For example, given the class Cfoo defined in a shared library:
class Cfoo
{
public:
Cfoo(const char* data=0);
virtual -Cfoo();
unsigned long m_length;
};
and an instance defined in the executable:
Cfoo foo("Hello world!");
you would specify its type definition to print the ’foo’ virtual function, as
shown below:
dde> pri (Cfoo)foo
(record): (record)
.__vfp: 7AD29088
.m_length: 12