### Mouse button 2 Behavior

The behavior of mouse button 2 within the Source window depends on the Mouse button 2 behaviour group box in the Debugger properties dialog group box.

One of three possible events occur when clicking on mouse button 2:

1. Display a popup menu, where one is available; otherwise do nothing.
2. Perform a step command.
3. Display a popup menu, when the pointer is over certain text (for example, a variable or a line number in the prefix area), and perform a step command when the pointer is over white space or over text for which no popup menu is available.

C++ example:.If Popup menus and step in white space is checked, and you click mouse button 2 on the C++ source line `int myVar=18;`, a popup menu appears if the pointer is over `int`, `myVar`, or `18`, and a step command is performed if the pointer is on white space or the `=` or `;` symbols.

Change Mouse Button 2 Behavior