Debug a running local program

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

Before you begin:

  • You have a Genero program that is running locally.
  1. Select Debug >> Attach to Process....
    The Attach to process dialog opens.
  2. Select the Attach to local process radio button.
  3. Select the process you wish to attach to from the list provided.
  4. Click Attach.
    The debug session starts.

    Genero searches the directories specified by the FGLSOURCEPATH environment variable for the relevant source file. If Genero Studio cannot find the source (.4gl) file, the Select the file dialog opens and you must navigate to the directory and select the relevant source file. To avoid this additional step, add the path to the source file to FGLSOURCEPATH before attempting to attach to the process.