The fgldb tool is an interface program for remote debugging.

Syntax 1: Debugging an application running on a server

fgldb -p process-id
  1. process-id is the process identifier of the fglrun process.

Syntax 2: Debugging an app running on a mobile device

fgldb -m host[:port] ]
  1. host is the host (or IP address) of the mobile device where the program executes, default is "localhost".
  2. port is the TCP port number to connect to, default is 6400.


Table 1. fgldb options
Option Description
-V Displays version information.
-h Displays options for the tool.
-p process-id Attach to a running process to debug
-m host[:port] Attach to a running process to debug


The fgldb command line tool is an interface for remote debugging, attaching to a Genero program running on a server or on a mobile device (or mobile emulator).