I heard that there is a graphical debugger by GNU called DDD, which will help to learn C. I have searched DDD for windows 7, but i won't get anything useful. All i saw is DDD on Linux. My question is can i install DDD into Windows 7 ? if so where can i find set up file and other information ?
-
2use cygwin in Windows. You will get ddd – stev Jul 26 '13 at 12:41
-
1http://stackoverflow.com/questions/1574456/windows-version-of-the-gdb-frontend-ddd – mohit Jul 26 '13 at 12:50
2 Answers
You can do it installing Cygwin. In this way you can use all the linux GNU Tools under Windows.
Cygwin is a Unix-like environment and command-line interface for Microsoft Windows. Cygwin provides native integration of Windows-based applications, data, and other system resources with applications, software tools, and data of the Unix-like environment. Thus it is possible to launch Windows applications from the Cygwin environment, as well as to use Cygwin tools and applications within the Windows operating context.
Here's the Cygwin installation guide.

- 12,231
- 6
- 49
- 62
-
-
Note that to get ddd running you'll also need X, and Cygwin's X is not the easiest piece of software to get running properly. – fvu Jul 26 '13 at 12:44
-
-
You should start cygwin, then start the X server the command should be `startx` and then launch the `ddd` command – Atropo Jul 26 '13 at 13:51
First off, because you're learning C try to resist the temptation to depend entirely on your debugger to figure out what's wrong with your code. A debugger assists the brain but shouldn't replace it.
That being said, it might be less ambitious to start with a free IDE+toolchain with a decent debugger that's a bit easier to get up and running than Cygwin & friends.
I've always liked the now opensourced Watcom C toolchain a lot, and it comes with a nice debugger. It's showing its age a bit, but it's still a very capable tool.
Microsoft still offers its Visual Studio Express "lite" version of VS for free. Aside from some restrictions, it's a Visual Studio 2012.
And of course there are the IDE's built mostly around gcc, like Code::Blocks, Eclipse CDT and many others

- 32,488
- 6
- 61
- 79
-
Am not using it for the purpose of coding. I just want to c memory map,register content etc.. – M Sharath Hegde Jul 26 '13 at 13:01
-
@MSharathHegde that doesn't invalidate my recommendation. Any good debugger offers all that. – fvu Jul 26 '13 at 13:10