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?
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?
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 am using code blocks with the gcc compiler and the gdb debugger (which is a little buggy itself).
How so?
You just have to know how to use it. Here is one GDB tutorial: http://www.dreamincode.net/forums/showtopic13243.htm
Here is another: http://www.cprogramming.com/gdbtutorial.html
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.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.