views:

173

answers:

0

I use ddd (v3.3.1.1 x86_64-pc-linux-gnu, Ubuntu 9.04) to debug my single-threaded C++ app. The first time through, everything works fine, and I can inspect variables without problems.

Once the app ends, if I try to run it again, my breakpoints are all still there, but all the variables fail to display. Clicking on them results in: "Disabling display # to avoid infinite recursion."

Basically -- I can only run through the debugger a single time. To see my variables again, I need to completely restart ddd.

I'd love to know the cause of this problem, or possibly a workaround.