dbx screwing up...
Jitendra Apte
apte at helios.cs.duke.edu
Sat May 13 00:27:34 AEST 1989
In article <1666 at eric.mpr.ca> parker at waters.mpr.ca (Ross Parker) writes:
>
>We have seen a bizarre problem with dbx when trying to debug a very large
>(tens of thousands of lines) application. This is Ultrix 2.2 on a
>Microvax II. The problem is that when a breakpoint is set in a particular
>function (i.e. 'stop in functionname'), the source displayed with 'list'
>is not always the first executable line of code.
I have experienced similar problems, and was wondering what the world thinks of
it.
While stepping through a program, dbx says that it is at line number
"XYZ" whereas control is actually a few lines ahead of "XYZ". It
seems to be occuring because I have some character strings in my source
code with escaped newlines in them. However, I may be wrong.
eg :
{
char * p;
p = "This is an example of the kind of string \
I was talking about";
}
Any ideas as to whether this problem has been noticed before and if the reason
stated above is correct? I am using dbx on a Sun4 running SunOS-3.2.
Fangs a lot.
Jitendra.
(Internet) apte at cs.duke.edu; (UUCP) {decvax|ihnp4|allegra}!duke!apte
"Let us save the kid from abortion, so that he can grow up to steal bread,
rob banks and murder people. Then we can kill him in the electric chair".
More information about the Comp.unix.questions
mailing list