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

Debugger/simulator
Table of Contents

Advertisement

Chapter 4: Viewing Code and Data
Displaying Program Context
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 ().
150

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents