Customizing Machine Code
Enabling machine code via Source => Display Machine Code
(see Machine Code) toggles the following resource:
disassemble(class Disassemble) |
Resource |
|
If this is on , the source code is automatically disassembled. The default is off . See Options, for the --disassemble and --no-disassemble options. |
|
You can keep disassembled code in memory, using Edit => Preferences => Source => Cache Machine Code
:
cacheMachineCode(class CacheMachineCode) |
Resource |
|
Whether to cache disassembled machine code (on , default) or not (off ). Caching machine code requires more memory, but makes DDD run faster. |
|
You can control the indentation of machine code, using Edit => Preferences => Source => Machine Code Indentation
:
indentCode(class Indent) |
Resource |
|
The number of columns to indent the machine code, such that there is enough place to display breakpoint locations. Default: 4 . |
|
The maxDisassemble
resource controls how much is to be disassembled. If maxDisassemble
is set to 256 (default) and the current function is larger than 256 bytes, DDD only disassembles the first 256 bytes below the current location. You can set the maxDisassemble
resource to a larger value if you prefer to have a larger machine code view.
maxDisassemble(class MaxDisassemble) |
Resource |
|
Maximum number of bytes to disassemble (default: 256 ). If this is zero, the entire current function is disassembled. |
|