To Display The Address Of The C+ + Object Invoking A Member Function - HP B1476 68020 User Manual

Debugger/emulator
Table of Contents

Advertisement

Chapter 5: Viewing Code and Data

To display the address of the C+ + object invoking a member function

To display the address of the C+ + object
invoking a member function
• Display the value of the function's this pointer.
If the program has stopped at a function, you can find out the address of the
object which invoked the function.
The program counter must be inside the function; otherwise you may see a
"Local variable not alive" error message.
Example
To see the address of the object that invoked the cfunc function in class C,
enter the following string in the entry buffer:
C::cfunc\this
then select Display→Var/Expression ().
158

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1476 68030

Table of Contents