May be you could give a try to gdb 6.3 (GNU gdb 6.3-debian on Ubuntu 5.10).
I've created gdb 6.3 from scratch with different location (/usr/local/bin) to 6.4 (/usr/bin/). Also I've changed in Settings -> Compiler and Debugger -> Programs the debugger path to /usr/local/bin/gdb.
Now it shows the gdb 6.3 in the name and version message in the debug tab, but the same behaviour as with 6.4.
As I clean the project,build again and start the debugger than it runs to the first breakpoint

(if it is not a definition line !). Also with F7 it jumps to the next line. But then with the next F7 (to execute "cin.getline(value, 80);") I can't do anything anymore ... There's no possibility in the debugger(debug) tab to enter anything ...
Here's my test code (I've set the breakpoint to "cout << "Please ..."):
#include <iostream>
#include <cstdlib>
#include <cstring>
using namespace std;
int upstring(char *value);
int main()
{
char value[81]={'\0'};
int upper_count;
cout << "Please type in a String (max. 80 characters): ";
cin.getline(value, 80);
upper_count=upstring(value);
cout << upper_count << " characters are converted" << endl;
cout << "The new string is now: " << value << endl;
return EXIT_SUCCESS;
}
int upstring(char *value)
{
int i=0;
while(*value)
{
if(islower(*value))
{
*value=toupper(*value);
i++;
}
value++;
}
return(i);
}
Btw. I tried the same with 6.4 and after cleaning the project it works, too. But it ends on the same point as 6.3 (on the getline operation).
Do you know what's going on with the getline operation? Did I do anything wrong?
Regards,
Thomas
P.S.: If I switched back to the default gdb after stop debugging for testing if the cleaning works there too, C::B crashes (hangup) :shock: