2

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 ?

M Sharath Hegde
  • 485
  • 1
  • 6
  • 20

2 Answers2

3

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.

Atropo
  • 12,231
  • 6
  • 49
  • 62
0

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

fvu
  • 32,488
  • 6
  • 61
  • 79