Previous: , Up: Examining Source Files   [Contents][Index]


9.7 Disable Reading Source Code

In some cases it can be desirable to prevent ROCGDB from accessing source code files. One case where this might be desirable is if the source code files are located over a slow network connection.

The following command can be used to control whether ROCGDB should access source code files or not:

set source open [on|off]
show source open

When this option is on, which is the default, ROCGDB will access source code files when needed, for example to print source lines when ROCGDB stops, or in response to the list command.

When this option is off, ROCGDB will not access source code files.