11.15.5. Setting a breakpoint at the start of a member function in a C++ class

For a member function of a parent class that is both declared and defined, you can set a breakpoint at the start of that function.

To set a breakpoint at the start of a declared and defined member function:

  1. Select Classes from the View menu to display the Classes view. Figure 11.26 shows an example.

    Figure 11.26. Classes view

    Classes view

  2. Expand the required class to show the components of that class.

  3. Right-click on the required function to display the context menu.

  4. Select Set Break from the context menu:

    • If the function has a single declaration, a simple breakpoint is set at the start of that function.

    • If the function has multiple declarations, then a List Selection dialog box is displayed showing the declarations. Deselect all declarations except for the one that is of interest, and click OK. A simple breakpoint is set at the start of that function.

See also

Copyright © 2002-2009 ARM Limited. All rights reserved.ARM DUI 0153K
Non-Confidential