Chapter Contents |
Previous |
Next |
Cross-Debugging |
A distributed file system makes it possible to develop your applications in a cross-development environment. In a distributed file system, programs can read or write files directly in a file system on a remote machine. The Network File System (NFS) client support provided by the SAS/C Connectivity Support Library allows the SAS/C Debugger to access files that do not reside on the mainframe at all. Additional information can be found in Using the NFS Client.
One method of improving debugger performance is to use
the
set search
command to direct the debugger to access
files residing on the mainframe whenever possible. For example, when developing
in a cross-development environment, it is likely that identical copies of
the system include files will reside on both the host workstation and the
target mainframe. You should use the
set search systeminclude
command to direct the debugger to use the system include files located on
the target mainframe.
Another way to improve performance is to specify a debugger
Source Window buffer that is large enough to hold the entire source file.
This allows the debugger to keep the entire source file in mainframe memory
for the time that the compilation is being debugged. Switching compilations
causes the file to be flushed. As a guideline, the amount of memory needed
to hold one source line is equal to the length of the line, after stripping
trailing blanks, plus three bytes. Refer to documentation for the Config Window
and the
window memory
command in the SAS/C Debugger
User's Guide and Reference for more information about debugger window
buffers.
Similarly, you may use the
set cache
command to establish
a cache location for your debugger file if you feel this appropriate for the
application being debugged.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.