Go to Glossary Go to Search Go to IBM C and C++ Compilers Help Home Page Go to IBM Software WWW Site

Scroll to Line Number

Select View->Scroll to Line Number to move to another line in the source file. This action only affects what you see; it does not change what line will be executed next.

A dialog opens where you enter a line number to scroll to. You can then either click on OK to scroll to that line, or you can select Breakpoint if you want to set a breakpoint at the line number.

Once you have scrolled to a line number, you can select Run to location or Jump to location to run or jump to that line.

You can also open the Scroll to Line Number dialog by typing a line number directly from within the Source window. The dialog opens and the number you typed is placed in the line number entry field.

Scroll to Line Number is accessible only from the source view of a Source window.