Debug a running remote program

Complete this procedure to attach the Graphical Debugger to a running remote process.

Before you begin:

  • You have a Genero program that is running remotely.
  • If the source files are located on a remote machine, you must mount a network drive.
  1. Select Debug >> Attach to Process....
    The Attach to process dialog opens.
  2. Select the Attach to remote process (SSH) radio button.
  3. Complete the required fields.
    Host
    The remote host.
    Port
    The port number for communicating with the remote host.
    User
    The user name needed to connect to the remote host.
    Password
    The password needed to connect to the remote host.
    FGLDIR
    The FGLDIR directory for the version of Genero containing the fglrun used to launch the program.
    Process ID
    The process ID of the Genero program.
  4. Click Attach.
    The debug session starts. The Select the file dialog opens, as the debugger needs to know where the source files are located.
  5. Navigate to the directory that contains the source files for your application and select the appropriate source (.4gl) file, then click Open.
    The source file opens. You are now in a standard debug session.

With the debug session open, follow the procedures for using the Graphical Debugger.