Hello again!

I am using code blocks with the gcc compiler and the gdb debugger (which is a little buggy itself).

If i have a program running in debug that requires an input from the keyboard to continue, how do i do that?

Recommended Answers

All 3 Replies

If i have a program running in debug that requires an input from the keyboard to continue, how do i do that?

Go back to the console screen (make the console window active) and give the input.

I was refering to the setting of breakpoints.
You cant set one at a function, but an element within or a call to function. it will do strange things...like ignoring the break or landing somplace else.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.