To Set A Breakpoint For Overloaded C+ + Functions; To Set A Breakpoint For C+ + Functions In A Class - HP B1476 68020 User Manual

Debugger/emulator
Table of Contents

Advertisement

Chapter 4: Loading and Executing Programs
Using Breakpoints
To set a breakpoint for overloaded C+ +
functions
• To set a breakpoint at one of the functions when you know the argument type,
supply the argument type following the function name.
• To set a breakpoint at one of the functions when you don't know which
argument type you want, just use the name of the function. The debugger will
list the choices with a menu in the Journal window.
Example
To set a breakpoint for the function print (which is not in a class) for float
arguments, enter print (float) in the entry buffer and select
Breakpoints→Set ().
Another way to set a breakpoint for the function print is to enter print in the
entry buffer, select Breakpoints→Set (), then type the number of "print
(float);" from the menu in the Journal window.

To set a breakpoint for C+ + functions in a class

• Set a breakpoint for the C+ + class.
Examples
To set breakpoints for all member functions of the class classname, enter
"classname::" in the entry buffer, then select Breakpoints→Set () from the
menu bar.
Or, using the command line, enter:
Breakpoint Instr classname::
110

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1476 68030

Table of Contents