Programming tools / The debugger |
Make sure that the following FGLPROFILE entry is not defined, or defined as false:
fglrun.ignoreDebuggerEvent = false
Before starting the debugger, make sure you have properly set the FGLLDPATH and FGLSOURCEPATH environment variable, to let the debugger find the source files.
In order to find sources files, the debugger will search in the directories defined by FGLLDPATH. If the source file is not found, the search continues in the directories defined by FGLSOURCEPATH.
The FGLSOURCEPATH environment variable is provided to distinguish execution directories (containing .42m files), from source directories (containing .4gl files), when the sources are not located in the same directory as the pcode files.
$ FGLSOURCEPATH="/usr/app/source:/home/scott/sources" $ export FGLSOURCEPATH
C:\> set FGLSOURCEPATH=C:\app\sources;C:\scott\sources