> Then i compile it using: > > g++ main.cc (using gcc with a main.c does not work either) Is this the complete command you used? You should add "-g" to tell the compiler to include debugging information. Without that, the debugger operations are limited. -- Joel