Re: ESQL/C and Solaris dbx
Posted in 1996
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues
You need to preprocess .ec with -G flag (see esql description) This will prevent .ec file to show when debugging. Good Luck. Parviz Siamak In article <4eloa0$ns4@times.tfs.com>, gregf@tfs.com (Greg Faulk) wrote: >I'm having a problem debugging a ESQL/C application that is comprised of >multiple source files. As an example consider that the applications is >compiled as: > > esql -g -o foo foo.ec bar.ec > >I then debug the program by running dbx: > > dbx foo > >I can then use 'list' to see the code in file 'foo.ec' but I can't set >line number breakpoints for code in file 'bar.ec'. So, I use the dbx 'file' >command to change to file 'bar.ec' and I get the following error: > > (dbx) file bar.ec > > dbx: no such source file: "bar.ec" > >However the following works fine: > > (dbx) file bar.c > >So, my question is, how do I switch to other '.ec' files within dbx and >maintain my ability to set line level breakpoints. Dealing with the >generated '.c' files is a pain due to the included header files, etc. > >TIA.