Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Studio 12.3: Debugging a Program With dbx Oracle Solaris Studio 12.3 Information Library |
4. Viewing and Navigating To Code
5. Controlling Program Execution
6. Setting Breakpoints and Traces
8. Evaluating and Displaying Data
11. Debugging Multithreaded Applications
16. Debugging Fortran Using dbx
17. Debugging a Java Application With dbx
18. Debugging at the Machine-Instruction Level
19. Using dbx With the Korn Shell
20. Debugging Shared Libraries
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.
where:
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