How can I create a breakpoint and proceed line by...

..line in my code?

I'm programming in C/C++ using Kate with Konsole on Ubuntu 13.10 64bits. But, as I'm facing a problem where the error message doesn't show me where it is. After much time, I know the function where the error is, but I can't locate it.

I would like to stop before the function call and proceeds line by line until reach the error.

Thanls!
Sounds like Kate is a text editor you may have to install a debugger or use an IDE with a debugger.
Yes, Kate is a text editor in KDE environment. I recommend you to install Code::Blocks as IDE with GDB debugger (or use gdb from command line if you prefer the hard way)
You can use DDD. It will allow you to step through your code. This is a wrapper around gdb. if you compile your code with the gcc/g++ compiler tools and use the -g flag you will have the debug symbols in the binary. GDB However, I recommend an IDE like Eclipse with CDT.
Topic archived. No new replies allowed.