Note:
- The following applies to native code only.
- If debugging a program or a process on a remote UNIX machine, ensure that the remote machine has an X Window implementation
installed and running before you start debugging. This ensures that the output of the remote program can be viewed on your
local machine.
- Set up remote debugging.
- On your local machine, build your project for debugging.
- Configure your project for debugging when the application is running on the remote machine as follows:
- Navigate to your project's properties - click
Project > Properties.
- Go to the
Debug tab.
- Click
Start external program and specify the full path on the remote machine, and the name of the executable. For example:
- On Windows, specify:
c:\path\myapp.exe
- On UNIX, specify:
home/path/appexecutable
Alternatively, to attach the debugger to a program running remotely, click
Wait for debuggable attachment and choose the means by which you want to attach to the remote application.
- Check
Use remote machine.
- Fill in the IP address or name of the remote machine.
- Click
Debug > Start Debugging
.
Note: In order for the debugger to step the copybooks inline when stepping inline is enabled, you need to have the application sources
loaded in Visual Studio. If the source files are not available, the debugger will open the copybooks in a separate tab in
the editor.