IITDU Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

DDD(Data Display Debugger)

Go down

DDD(Data Display Debugger) Empty DDD(Data Display Debugger)

Post by BIT0122-Amit Fri Aug 07, 2009 2:03 pm

Guys, thanks to Joarder sir, I found the awesome GUI Debugger for Ubuntu Very Happy

First of all, you have to install gdb.
type in terminal
sudo apt-get install gdb

and press enter

When prompted, enter your password.
Next you will have to install DDD.
go to applications, then add/remove.
Search for DDD, install it.

Next when you compile your .cpp file, add another switch -g
for example
g++ filename.cpp -g -o filename
that -g extension is used for debugging information.
in case it contains errors, try
g++ filename.cpp -g filename

next, open DDD, go to recent. You will find your program ready for debugging there Smile

Only one problem is.. I can't find how to use the step by step compile facility. Anyone have any idea?

Anyway, enjoy DDD Very Happy
king
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum