vs.net2005下进行remote debugging
来源:互联网 发布:网络通信线路有哪些 编辑:程序博客网 时间:2024/05/16 18:12
To configure the Visual Studio host computer
In Control Panel,click Security Center.
In the Windows Security Center, click Windows Firewall.
In the Internet Connection Firewall window, click the Exceptions tab.
Steps 6-9 open TCP port 135 (used by DCOM to communicate with remote computers).
On the Exceptions tab, click the Add a Port button.
In the Add Port dialog box, do the following:
For Port Number, type 135.
For Description, type a description (such as remote debugging DCOM).
Select TCP.
(Optional) Limiting access to computers on your local subnet enhances security. You should do this unless you have to debug outside the local subnet.
Click Change Scope.
In the Change Scope dialog box, select My network (subnet) only.
Click OK.
Click OK to close the Add a Port dialog box.
If your domain policy requires network communication to be done through IPSec, do this step. Otherwise, skip it.
Open UDP port 4500 (used for IP security) by repeating the prior step, substituting UDP for the Protocol, and 4500 for the Port Number.
Open UDP port 500 (used for IP security) the same way, substituting UDP for the Protocol, and 500 for the Port Number.
Steps 11-16 add Devenv.exe (the Microsoft Visual Studio development environment) to the SP2 application security Exception list so that it can dynamically open ports at runtime.
Click Add a program.
In the Add program dialog box, click the Browse button.
In the Browse dialog box, navigate to where devenv.exe is located (typically SystemDrive:/Program Files/Microsoft Visual Studio 8 Common7/IDE). Select devenv.exe.
Click OK to close the Browse dialog box.
(Optional) Limiting access to computers on your local subnet enhances security. You should do this unless you have to debug outside the local subnet.
Click Change Scope.
In the Change Scope dialog box, select My network (subnet) only.
Click OK.
Click OK to close the Add a program dialog box.
To configure the remote computer
In Control Panel,click Security Center.
In the Windows Security Center, click Windows Firewall.
In the Internet Connection Firewall window, click the Exceptions tab.
Steps 5-8 open the TCP 135 port, which is used by DCOM to communicate with remote computers.
On the Exceptions tab, click the Add Port button
In the Add Port dialog box, do the following:
For Port Number, type 135.
For Description, type a description (such as remote debugging DCOM).
Select TCP.
(Optional) Limiting access to computers on your local subnet enhances security. You should do this unless you have to debug outside the local subnet.
Click Change Scope.
In the Change Scope dialog box, select My network (subnet) only.
Click OK.
Click OK to close the Add Port dialog box.
If your domain policy requires network communication to be done through IPSec, do this step. Otherwise, skip it.
Open UDP port 4500 (used for IP security) by repeating the prior step, substituting UDP for the Protocol, and 4500 for the Port Number.
Open UDP port 500 (used for IP security) the same way, substituting UDP for the Protocol, and 500 for the Port Number.
Steps 10-14 open ports necessary for file and print sharing.
In the Programs and Services box, select File and Print Sharing.
Click the Edit button.
In the Edit a Service dialog box, select the following ports: TCP 139, TCP 445, UDP 137, and UDP 138.
(Optional) Limiting access to computers on your local subnet enhances security. You should do this unless you have to debug outside the local subnet.
Click Change Scope.
In the Change Scope dialog box, select My network (subnet) only.
Click OK.
Click OK to close the Edit a Service dialog box.
Steps 15-19 add msvsmon to the SP2 Exception list. This enables it to dynamically open ports at run time.
Click the Add a Program button.
In the Add a Program dialog box, click the Browse button.
In the Browse dialog box, navigate to where Msvsmon.exe is located, which will be one of the following directories:
Install path /Microsoft Visual Studio 8/Common7/IDE/Remote Debugger/x86
Install path /Microsoft Visual Studio 8/Common7/IDE/Remote Debugger/x64
Install path /Microsoft Visual Studio 8/Common7/IDE/Remote Debugger/ia64
(Optional) Limiting access to computers on your local subnet enhances security. You should do this unless you have to debug outside the local subnet.
Click Change Scope.
In the Change Scope dialog box, select My network (subnet) only.
Click OK.
Click OK to close the Add a program dialog box.
Click OK to close Windows Firewall.
- vs.net2005下进行remote debugging
- vs.net2005下多线程实现
- Remote Debugging
- Remote debugging
- Workaround of VS Remote Debugging connect from Win2K8 to WinXP
- vs.net2005下多线程实现c# winform
- Remote Debugging with Eclipse
- Android JNI remote debugging
- Remote Debugging with Eclipse
- Remote Debugging with Eclipse
- vs2003 remote debugging
- Remote Debugging on Android
- 远程调试(Remote Debugging)
- 远程调试(Remote Debugging)
- eclipse remote debugging
- WINDOWS下的使用VS.NET2005的SVN手记
- WINDOWS下的使用VS.NET2005的SVN手记
- WINDOWS下的使用VS.NET2005的SVN手记
- mysql新增用户和登录
- 2010年1月22日存档:PHP调用linux命令启动和停止asterisk
- 关于fflush函数的使用
- 我爱自然语言
- HDOJ-1060-Leftmost Digit(求n^n的最高位)
- vs.net2005下进行remote debugging
- 程序员的相关笑话
- S2SH+DWR整合
- 管理会议
- nfs挂载相关问题
- tmpfile创建临时文件
- Near By Leaving
- ftp文件传输
- C++虚函数表深入剖析