Re: Informix 4GL Debugger and Command Line Parameters
Posted in 1999
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Try just: fgldb progname then in the debugger window: run parameter1 parameter2 Sorry,I don't remember whether you can pass parameters to the program in the fgldb command line. Good luck, Octav On Fri, Oct 01, 1999 at 11:04:16AM +1000, Kire Prostizenovski wrote: > Hi, > > I have a problem de-bugging a 4GL program which requires command line > parameters. The debugger (fgldb) doesn't seem to like these command line > parameters. > > For example > fglgo <progname> <parameter1> <parameter2> works OK > but; > fgldb <progname> <parameter1> <parameter2> doesn't work 8^( > > Thanks, > > Kire > -- Octav Chiriac Phone: (373) 2 22 99 67 NetInfo S.R.L. Fax: (373) 2 21 36 59 Chisinau (373) 2 22 84 88 Moldova, Republic of mailto:com@netinfo-moldova.com
I don't believe you can pass the parameters from the command line -- but adding to the run line as in Octav's example works perfect -- I do it all the time. If they are complicated or long I usually place in a buffer and then paste. I also believe that the debugger will 'remember' the run parameters -- so if you run a second time while still in a single session -- the run command (without parameters) will run with the previous parameters (however, I'm not 100% on this so please test first if you want to use this option). Tom Octav Chiriac wrote: > Try just: > fgldb progname > > then in the debugger window: > run parameter1 parameter2 > > Sorry,I don't remember whether you can pass parameters to > the program in the fgldb command line. > > Good luck, > Octav > > On Fri, Oct 01, 1999 at 11:04:16AM +1000, Kire Prostizenovski wrote: > > Hi, > > > > I have a problem de-bugging a 4GL program which requires command line > > parameters. The debugger (fgldb) doesn't seem to like these command line > > parameters. > > > > For example > > fglgo <progname> <parameter1> <parameter2> works OK > > but; > > fgldb <progname> <parameter1> <parameter2> doesn't work 8^( > > > > Thanks, > > > > Kire > > > > -- > Octav Chiriac Phone: (373) 2 22 99 67 > NetInfo S.R.L. Fax: (373) 2 21 36 59 > Chisinau (373) 2 22 84 88 > Moldova, Republic of mailto:com@netinfo-moldova.com