No debug with Kdev 3.9.97
Dimitrios Eftaxiopoulos
eftaxi12 at otenet.gr
Mon Dec 21 08:48:51 GMT 2009
Στις Κυριακή 20 Δεκέμβριος 2009 21:03:02 Andreas Pakulat γράψατε:
> On 20.12.09 17:38:42, Dimitrios Eftaxiopoulos wrote:
> > Hello,
> > I created a plain C++ project with the sample "Hello World" main.cpp
> > code. After configure and build I can run the code. When I try to debug,
> > nothing happens.
>
> What do you mean with 'you cannot debug'? Did you set a breakpoint in some
> piece of code thats being called?
Yes I set a break point at line 4 of the following code
#include <iostream>
int main(int argc, char **argv) {
std::cout << "Hello, world!" << std::endl;
return 0;
}
> Are you running via Run->Debug?
Yes I have tried both Run->Debug Launch and the Debug icon in the toolbar.
> Is gdb in your PATH?
Yes, I can use gdb from the konsole by just typing "gdb executable".
>
> Does KDevelop switch to the Debug Perspective?
No. When I click on Debug, nothing happens. Kdev seems idle. On the contrary,
when I click on Build or Execute, Kdev switches to the Build or Run
Perspective.
Dimitris
More information about the KDevelop
mailing list