[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Breakpoint problem

From: Robert Dabrowski
Subject: Breakpoint problem
Date: Fri, 30 Nov 2001 16:43:58 +1100

Hi, I have been using ddd (version 3.0 for solaris) for 18 months or so without
incident so far.  Recently in debugging some code involving a while loop I put a
break point inside an if statement which should result in a false condition most
of the time but ddd breaks at the next statement in the loop.  Below is meta
code of the problem.  I don't seem to be able to get around this.  Am I doing
something wrong?  Cheers, Rob.

while (condition)  {
    if (condition2) {
            break here
   next statement     ddd breaks here even though it shouldn't
} end loop

reply via email to

[Prev in Thread] Current Thread [Next in Thread]