开发者

.net Remote Debugging with Visual Studio -- "Can't find path."

My setup is:

Debugging computer:

  • Visual Studio 2008 Professional
  • Domain access

Application-running computer:

  • MSVSMon.exe
  • Workgroup only

Both computers:

  • Windows XP pro
  • Same local username and password
  • Access to same workgroup

I log into the same local username and password on both computers (username == "debugger"), and point VS 2008 to the remote computer, "Robot," under Project Properties > Use Remote Machine, and instruct VS to debug. In short, I followed the directions here and here. A ten second hang ensues then an error:

Error while trying to run project: Unable to start program '......\prog.exe'.

The system cannot find the path specified.

A few extra notes:

  • I tried "run an external program" pointing to the output of t开发者_JS百科he project to no avail.
  • I'm not trying to debug an ASP.Net application.
  • The project source is on the local computer.

Please let me know if you have any solutions or leads. Thanks.


Make the executable and debug symbols accessible to both computers: in a shared or shareable directory. Make the debugging computer's project "start an external program" being the shared directory from the point of view of the application-running computer.

EDIT

Also, be sure that you are careful that you run the correct build. Don't run the Debug build remotely if the debug framework isn't installed on the remote machine!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜