11.16.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 View → Classes from the Code window main menu to open 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 opened 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-2011 ARM. All rights reserved.ARM DUI 0153N
Non-ConfidentialID052111