Share via


List Disassembly Command

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Begins the debug process and allows you to specify how errors are handled.

Syntax

Debug.ListDisassembly [/count:number] [/endaddress:expression]
[/codebytes:yes|no] [/source:yes|no] [/symbolnames:yes|no]
[/linenumbers:yes|no]

Switches

Each switch can be invoked using either its complete form or a short form.

/count: number [or] /c: number [or] /length: number [or] /l: number

Optional. Number of instructions to display. Default value is 8.

/endaddress: expression [or] /e: expression

Optional. Address at which to stop disassembly.

/codebytes:yes|no [or] /bytes:yes|no [or] /b:yes|no

Optional. Indicates whether to display code bytes. Default value is no.

/source:yes|no [or] /s:yes|no

Optional. Indicates whether to display source code. Default value is no.

/symbolnames:yes|no [or] /names:yes|no [or] /n:yes|no

Optional. Indicates whether to display symbols names. Default value is yes.

[/linenumbers:yes|no]

Optional. Enables the viewing of line numbers associated with the source code. The /source switch must have a value of yes to use the /linenumbers switch.

Example

>Debug.ListDisassembly

See also