Assuming I’m using not-Visual Studio, and building at the command line with cl.exe, what debugger should I use?
I tried using gdb.exe from MinGW but it doesn’t seem compatible with the debugging symbols that cl.exe outputs (it reports “no debugging symbols found“).
I feel like this is a kind of ridiculous question to be asking, but it seems to be literally impossible to find information on MSVC++ that isn’t VS-specific.
Right now I’m using an install of Visual Studio 2010 Express just for access to cl.exe, but I do not use it as an IDE.
You should learn WinDBG, it can debug both user-mode and kernel-mode code. As you’re referring to GDB, I assume the command line interface of WinDBG won’t be a problem for you 🙂
By the way, WinDBG is the official debugger of the Windows developers, so you can expect it to be supported for a long time.