Home » Questions » Computers [ Ask a new question ]

Is there any way to run remote debugger on Visual Studio 2005 Standard Edition?

Is there any way to run remote debugger on Visual Studio 2005 Standard Edition?

I've searched the web for answers, but the only thing I can come up with is that I need the Pro or Team edition to be able to run remote debugger. Is that true? Is there a way around it or another way to do remote debugging?

Asked by: Guest | Views: 354
Total answers/comments: 2
Guest [Entry]

"According to this MSDN product feature comparison, Visual Studio 2005 Standard does not support remote dubugging; only local debugging is supported.

Microsoft offers an alternate (remote) debugger free of charge: WinDbg. And here is a useful Overview of WinDbg remote debugging

Advanced Windows Debugging by Mario Hewardt, Daniel Pravat is a very good book to get you started with WinDbg: The first few chapters give a very detailed overview of debuggers, and how to use WinDbg specifically. The various ways to start a remote debugging session are covered. The rest of the book is filled with detailed debugging case studies, which you don't have to read.

The initial learning curve for WinDbg is steeper than Visual Studio, but later WinDbg is the faster and more powerful debugger. There are also less ""gotchas."" For example, it is much easier to diagnose why symbols aren't being loaded, and get them loaded correctly."
Guest [Entry]

"Microsoft's official documents seem to offer contradictory answers here. (You can see this by comparing wonsungi and Ganesh's answers.) All I can add is that poking around my VS2005 Standard install on Windows 7, it feels like remote debugging isn't possible:

If remote debugging is supported in VS2005 Standard, then there should be some way, in the Tools...Attach to Process dialog, to specify a remote machine name. But there doesn't seem to be any. For ""Transport"", I have two choices, ""Default"" and ""Smart Device"". Neither is very promising:

If I chose ""Default"", then the Qualifier (where it looks like you might be able to change the machine name) gets grayed out, and, furthermore, the text under ""Transport Information"" reads ""Select a local process to debug"". http://www.cprogramming.com/tutorial/visual_studio_remote_debugging.html has some pictures suggesting that, in other editions/versions of Visual Studio, you would see other Transport options saying ""Remote something-or-other"".

If I chose ""Smart Device"", then I find stuff that's relevant for attaching to smartphones and smartphone emulators, not remote server machines.

I went back to my VS2005 installer to see if I might have failed to check some ""enable remote debugging"" checkbox, but I didn't see one there.

So it doesn't seem like remote debugging is possible. But if anyone does find a way to enable it, I too would like to hear it."