代码改变世界

Waht's new in the VS2005 debugger? -- Remote debug enhancement

2004-07-16 11:44  atempcode  阅读(1138)  评论(2编辑  收藏  举报

Now msvsmon can run from a file share! Read the walk through from the MS document:

Scenario: Alice and Bob both are employees at SomeCompany. SomeCompany has an NT domain named SomeCompany. Bob is having trouble with some software that Alice wrote. Alice would like to debug this software on Bob's machine.

  1. Bob doesn't have the remote debugging components on his machine. To setup the components, Alice decides to share out the 'Program Files\Microsoft Visual Studio 8\Common7\IDE\Remote Debugger' directory on her machine. She creates a file share called 'Remote'.
  2. Bob runs \\AliceComputer\Remote\x86\Msvsmon.exe
  3. After Msvsmon starts up, Bob configures Msvsmon through the Tools->Permissions dialog. He gives Alice permission to debug. Note: Bob could have also configured Msvsmon by passing the '/allow' option at startup.
  4. Alice starts Visual Studio
  5. Alice starts the Tools->Attach to Process dialog
  6. Alice connects to Bob's computer by entering SomeCompany\Bob@BobComputer into the name edit box
  7. Alice selects the application that she wrote, and starts debugging
  8. After Alice has found the problem, Bob can close Msvsmon