Disassembly Window
Home Page (Debugger) | Overview | How Do I... Topics
The Disassembly window can be especially useful for debugging optimized code, as well as source-code lines that contain multiple statements. Consider, for example, the following line of code:
x=1; y=7; Z=3;
The source window treats each line of code as a unit. Using the source window, you cannot step from one statement on a source-code line to the next, or set a breakpoint on any statement other than the first.
The Disassembly window operates on disassembled (assembly-language or bytecode) instructions instead of source-code statements or lines. Using the Disassembly window, you can set a breakpoint on any 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.