Debugging without graphical environment

Need help with C, C++, perl, python, etc?

Debugging without graphical environment

Postby drjmschmitz » 2006-06-13 10:46

Hi, I am experienced in C, but a beginner in Linux and just started working with gcc on a sarge debian installation.
My question is : is there a debugger, working in the console (text screen) environment ? I cannot use any desktop, KDE or Gnome or something like that, because until now, I did not manage to get it working (mouse problems ). Is there any tool (beneath ddd or how it is called...) to debug the source code in the text screen ?

thanx, Jörg
Posts: 2
Joined: 2006-06-13 09:53

Postby lacek » 2006-06-13 13:50

gdb is your friend. It is a console debugger, driven by a command-line. To my knowledge, ddd uses gdb as a backend.
See the gdb documentation for usage details. Should you have any questions, don't hesitate to ask :-)
Moderator Team Member
Posts: 769
Joined: 2004-03-11 18:49
Location: Budapest, Hungary

Postby drjmschmitz » 2006-06-13 14:30

Hey great, thanx for the reply ! Thats exactly what I was looking for !
Posts: 2
Joined: 2006-06-13 09:53

Postby lorebett » 2006-09-29 17:08

gdb works from within Emacs, and this makes it a little bit easier to use :)
User avatar
Posts: 21
Joined: 2006-08-23 13:54

Return to Programming

Who is online

Users browsing this forum: No registered users and 7 guests