Share via


Viewing Disassembly and Source Code (Windows Embedded CE 6.0)

1/5/2010

The Disassembly and Source windows provide different views of the code that is running on the target device.

You can view code in mixed source and disassembly mode.

The Disassembly window is a dockable window that operates on disassembled, assembly language, or byte-code instructions, instead of source-code statements or lines.

By using the Disassembly window, you can set a breakpoint on an instruction.

If you use the Step Into or Step Over command while the Disassembly window has focus, the debugger steps through your program instruction by instruction instead of line by line.

Viewing and stepping through your code by disassembled instructions can be especially useful when you are debugging optimized code or source code lines that contain multiple statements. For example, consider the following line of code.

x=1; y=7; Z=3;

The Source window treats each line of code as a unit. By using the Source window, you cannot step from one statement on a source-code line to the next nor can you set a breakpoint on any statement other than the first.

See Also

Tasks

Viewing Source Code in the Disassembly Window
Changing Disassembly Window Options

Concepts

Viewing Debug Information in the Debug Windows