|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Studio 12.3: Debugging a Program With dbx Oracle Solaris Studio 12.3 Information Library|
The line command lists or change the current line number. It has identical syntax and identical functionality in native mode and in Java mode.
Display the current line number.
Set the current line number to number.
Set current line number to line 1 in file_name.
Set current line number to line number in file_name.
file_name is the name of the file in which to change the line number. The ““ around the filename is optional.
number is the number of a line in the file.
line 100 line "/root/test/test.cc":100