ESQL/C and Solaris dbx
Posted in 1996
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.