Edit | Evaluate Selection

Click Evaluate Selection on the Edit menu to evaluate the current selection in the Source window and display the result in the Debugger Command window.

This command is equivalent to pressing CTRL+SHIFT+V, clicking Evaluate selection on the Source window's shortcut menu, or using the ?? (Evaluate C++ Expression) command together with the selected text as its argument.

If the selected text includes more than one line, a syntax error results. If no text is selected in a Source window, you cannot use this command.

Additional Information

For more information about other features of Source windows, see Source Window.

Send comments about this topic to Microsoft