开发者

Attach to Remote C++ Process with Visual Studio 2010

I have a c++ program running on a remote machine. I'd like to debug it from my machine. I've installed remote debugging services (msvsmon.exe ) on the server. Firewalls are not active not in the client nor in the server. The program is running on the server (.pdb file is also there). In the client I open the project in VS2010 , I go 开发者_运维百科to debug->attach to process. In the qualifier field I copy the value of the server name in msvsmon.exe. When I hit enter, I get an error prompt saying :

"Unable to connect to Microsoft Visual Studio Remote Debugging Monitor named Administrator@TESTER1, the requested name is valid, but no data of the requested type was found"

In the server, the Authentication mode in msvsmon.exe is set to Windows Authentication.

Any help will be much appreciated.

Regards, Omer.


Take a look at:

How to: Set Up Remote Debugging from Microsoft

Remote debugging with Visual Studio 2010 from CodeProject

In your case, take note of the suggestions regarding native debugging and windows authentication.

In my experiences with remote debugging a machine that is on my local network, I bypass windows authentication and setup the remote msvsmon.exe to allow anyone to connect to port 4015. So, then in the 'Attach to Process' dialog I select Transport > Remote (Native only with no authentication) and for the Qualifier I enter TESTER1:4015 or TheIPAddress:4015 if the name of the PC cannot be resolved.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜