In the Unix world, I happily used gdb for debugging and valgrind for memory analysis.
Are there open source quality alternatives for Windows?
I'm looking for lightweight pieces of software that do what you need and never get in your way (like gdb and valgrind).
Microsoft Visual Studio Express is free (but not open source).
The Microsoft Debugging Tools also use the WINDBG debugger. Also free, not open source.