move subcommand for dbx: Display or change the next line to be shown with the list command

Format

move

move sourceline

move function

Description

The move subcommand changes the next line to be displayed to the line specified by the sourceline argument. This subcommand changes the value of the @ variable. The sourceline argument can either be a line number in the current file, or a function name. Omitting the sourceline argument will display the current line number.

Usage notes

The move subcommand can be run only while the dbx debug program is running.

Examples

To change the next line to be listed to line 12, enter:
move 12
To change the next line to be listed to be the function main, enter:
move main
To display the current line number, enter :
move

Related information

The list subcommand.