From: Derek Schrock on 15 Apr 2010 09:30 Right now on our production system we're compiling ProCOBOL file (pco) in a two step process: procob32 foo.pco ...... cob ... foo.cbl .... This is alright however when we debug the program we have foo.cbl in the debugger; not foo.pco source. I had a command that would run the preprocessor and cob compiler in one step. This allowed us to view the original source (pco file) when running the debugger. Any idea what that command is? I can't remember if it was 'cob' that run that preprocessor or if it the preprocessor that ran cob. I think it was cob... either way any help would be great.
From: Derek Schrock on 17 Apr 2010 18:06 On Apr 15, 9:30 am, Derek Schrock <derekschr...(a)gmail.com> wrote: > Right now on our production system we're compiling ProCOBOL file (pco) > in a two step process: > > procob32 foo.pco > ..... > cob ... foo.cbl > ... > > This is alright however when we debug the program we have foo.cbl in > the debugger; not foo.pco source. > > I had a command that would run the preprocessor and cob compiler in > one step. > This allowed us to view the original source (pco file) when running > the debugger. > > Any idea what that command is? I can't remember if it was 'cob' that > run that preprocessor or if it the preprocessor that ran cob. I think > it was cob... either way any help would be great. Any comments on this?
From: Daniel on 18 Apr 2010 21:39 as I know, that command doesn't exists. Debug must be done over precompiled source but not over embedded sql source. regards "Derek Schrock" <derekschrock(a)gmail.com> escribi� en el mensaje news:da6e54e7-5c7c-4493-9b8b-b67ffa5f9346(a)u37g2000vbb.googlegroups.com... On Apr 15, 9:30 am, Derek Schrock <derekschr...(a)gmail.com> wrote: > Right now on our production system we're compiling ProCOBOL file (pco) > in a two step process: > > procob32 foo.pco > ..... > cob ... foo.cbl > ... > > This is alright however when we debug the program we have foo.cbl in > the debugger; not foo.pco source. > > I had a command that would run the preprocessor and cob compiler in > one step. > This allowed us to view the original source (pco file) when running > the debugger. > > Any idea what that command is? I can't remember if it was 'cob' that > run that preprocessor or if it the preprocessor that ran cob. I think > it was cob... either way any help would be great. Any comments on this? --- news://freenews.netfront.net/ - complaints: news(a)netfront.net ---
|
Pages: 1 Prev: In praise of compiler writers Next: rtsora32 error codes |