Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debugging without graphical environment

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
drjmschmitz
Posts: 2
Joined: 2006-06-13 09:53

Debugging without graphical environment

#1 Post by drjmschmitz »

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

lacek
Posts: 764
Joined: 2004-03-11 18:49
Location: Budapest, Hungary
Contact:

#2 Post by lacek »

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 :-)

drjmschmitz
Posts: 2
Joined: 2006-06-13 09:53

#3 Post by drjmschmitz »

Hey great, thanx for the reply ! Thats exactly what I was looking for !

User avatar
lorebett
Posts: 21
Joined: 2006-08-23 13:54

#4 Post by lorebett »

gdb works from within Emacs, and this makes it a little bit easier to use :)

Post Reply