News for hackers. Stuff that matters.
Re:Ask HN: What editor do you use? by scott_s on Tuesday December 30, 2008 @09:18AM (#414223)
I relied on a visual debugger (in Visual Studio) for much of my undergrad. In grad school (including now), I rely on gdb and printf/cout statements to debug my code.

I find printing the value of variables, and saving the record to a file, a valuable means of debugging. Instead of only knowing the current state, I can construct a picture of the entire execution of my program. Gdb also lets me do most of the things I did in Visual Studio. Most importantly, it tells me the line where the program crashed, and if I need to, it can tell me the state of variables.

Notice this has nothing to do with the editor I use (although I use vi). Visual Studio is an Integrated Development Environment - IDE. Once you learn enough Unix tools, Unix itself becomes your IDE.

There are no comments on this comment yet.