Saturday, 30 June 2007

visual studio 2005 remote debug with no authentication

1. on the remote pc share a dir
2. in post build event copy the exe to that dir
3. share out C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Remote Debugger\x86
4. on remote pc run msvsmon from that share
5. open tools->options, set no authentication, allow any user to debug
6. in your project properties goto debugging
7. set debugger to launch to remote windows debugger
8. set remote command to the exe how the remote pc sees it
9. set working directory
10. set remote server name as the remote pc's name
11. set connection type to remote with no authentication
12. press F5 the exe should launch and debugger will start