## Context Menus

A context menu provides a shortcut to frequently used menu commands. The available menu commands change, based on the context of the selected item. For example, the Breakpoints view uses commands that differ from the Editor view.

Sample uses of the context menu for different tasks include:

- Editor views - perform editing functions, format, compare, and a host of other file actions
- Breakpoints view - enable, disable, remove, or select all breakpoints
- Debug view - restart, step into, over, or out of routines, terminate or suspend program execution
- Variables view - enable, disable, find, and change the format or value of variables displayed
- Memory view - add or remove memory monitors

TIP Experiment using the context menu in various views to discover additional capabilities.

Figure 1 shows a sample context menu in the Breakpoints view.

Figure 1 - Context menu in Breakpoints view

#### Using Context Menus

Use context menus to apply context-specific commands to selected items.

- Right-click or click and hold on an item to open a context menu

> The context menu appears, displaying menu commands applicable to the selected item or view.

##### Related References

- Menus