18.04.2015 Views

ArcGIS Engine Developer Guide

ArcGIS Engine Developer Guide

ArcGIS Engine Developer Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

VISUAL C++<br />

• xloc,g<br />

• count,d<br />

To watch the value at an address or the value to which a register points, use the<br />

BY, WO, or DW operator:<br />

• BY returns the contents of the byte pointed at.<br />

• WO returns the contents of the word pointed at.<br />

• DW returns the contents of the doubleword pointed at.<br />

Follow the operator with a variable, register, or constant. If the BY, WO, or DW<br />

operator is followed by a variable, then the environment watches the byte, word,<br />

or doubleword at the address contained in the variable.<br />

You can also use the context operator { } to display the contents of any location.<br />

To display a Unicode string in the Watch window or the QuickWatch dialog box,<br />

use the su format specifier. To display data bytes with Unicode characters in the<br />

Watch window or the QuickWatch dialog box, use the mu format specifier.<br />

Keyboard shortcuts<br />

There are numerous keyboard shortcuts that make working with the Visual<br />

Studio Editor faster. Some of the more useful keyboard shortcuts follow.<br />

The text editor uses many of the standard shortcut keys used by Windows<br />

applications, such as Word. Some specific source code editing shortcuts are<br />

listed below.<br />

Shortcut Action<br />

Alt+F8 Correctly indent selected code based on surrounding lines.<br />

Ctrl+] Find the matching brace.<br />

Ctrl+J Display list of members.<br />

Complete the word, once the number of letters entered allows the editor to recognize it. Useful when<br />

Ctrl+Spacebar<br />

completing function and variable names.<br />

Tab Indents selection one tab stop to the right.<br />

Shift+Tab Indents selection one tab to the left.<br />

Below is a table of common keyboard shortcuts used in the debugger.<br />

Shortcut<br />

F9<br />

Ctrl+Shift+F9<br />

Ctrl+F9<br />

Ctrl+Alt+A<br />

Ctrl+Alt+C<br />

Ctrl+Alt+L<br />

Ctrl+Alt+A<br />

Shift+F5<br />

F11<br />

F10<br />

Ctrl+Shift+F5<br />

Ctrl+F10<br />

F5<br />

Ctrl+F5<br />

Ctrl+Shift+F10<br />

Ctrl+Break<br />

Action<br />

Add or remove breakpoint from current line.<br />

Remove all breakpoints.<br />

Disable breakpoints.<br />

Display auto window and move cursor into it.<br />

Display call stack window and move cursor into it.<br />

Display locals window and move cursor into it.<br />

Display auto window and move cursor into it.<br />

End debugging session.<br />

Execute code one statement at a time, stepping into functions.<br />

Execute code one statement at a time, stepping over functions.<br />

Restart a debugging session.<br />

Resume execution from current statement to selected statement.<br />

Run the application.<br />

Run the application without the debugger.<br />

Set the next statement.<br />

Stop execution.<br />

Chapter 4 • <strong>Developer</strong> environments • 119

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!