views:

291

answers:

1

When ddd encounters a scanf statement, it displays "Waiting until GDB gets ready" message. The debugging activity stops here. Please guide me of overcoming this bug.

I'm using an amd64 athlon processor.

+5  A: 

I am surprised that so much time has elapsed on this, so although I know little about ddd, it seems very likely that the problem is simply that gdb is waiting for the program which is blocked on a read waiting for input on stdin. If you were running gdb directly, you could direct input to the program by using:

run < input-file

You need to give your program some input.

William Pursell
still the same problem persists dear friend. The debugger still displays "Waiting until GDB gets ready" message. this happens while using graphical ddd, not command line gdb.
Joshi