当前位置:网站首页>C# remote debugging
C# remote debugging
2022-07-31 03:01:00 【Hometown 2130】
In our daily life, we often encounter that the local computer can run the program, but other computers cannot run the program. In many cases, it is caused by environmental variables.We can use remote debugging, just copy the code in the past without installing the corresponding vs software, which saves time.This environment is that the virtual machine and the host are in a local area network, using vs2022.
1. On the remote computer, download the vs2022 remote tool
Download Visual Studio Tools - Free Install for Windows, Mac, Linux
2. On the remote computer, install
3. On the remote computer, start
Click OK
And record the IP address and port number of the remote computer, you will use it later
4. On the local computer, createA winform program
Copy the debug file to the remote computer and run it
5. On the local computer, select Attach to process
6. Enter the remote IP address and port number, click Find to connect
At this point, find the running software and click the add button
7. Then go back to the remote computer,Click the button on the software, then the machine will have a breakpoint to enter
At the same time, the remote computer will also display the connection
Extended
For other programs developed using VS, such as websites or C++ programs, etc., this method can be used for remote debugging.
边栏推荐
- 点云DBSCAN聚类(MATLAB,非内置函数)
- 编译Hudi
- Unity3D Button mouse hover enter and mouse hover exit button events
- 8. Unified exception handling (controller notifies @ControllerAdvice global configuration class, @ExceptionHandler handles exceptions uniformly)
- 字体压缩神器font-spider的使用
- 知识蒸馏7:知识蒸馏代码详解
- 19.支持向量机-优化目标和大间距直观理解
- YOLOV5学习笔记(三)——网络模块详解
- execsnoop tool
- Is interprofessional examination difficult?Low success rate of "going ashore"?Please accept this practical guide!
猜你喜欢
随机推荐
The simulation application of common mode inductance is here, full of dry goods for everyone
Mysql 45讲学习笔记(二十四)MYSQL主从一致
AI software development process in medical imaging field
什么是系统?
跨专业考研难度大?“上岸”成功率低?这份实用攻略请收下!
字体压缩神器font-spider的使用
遗留系统的自动化策略
观察者模式
QML的使用
CefSharp入门-winform
知识蒸馏7:知识蒸馏代码详解
10 Permission introduction
共模电感的仿真应用来了,满满的干货送给大家
The application of AI in the whole process of medical imaging equipment
Compile Hudi
Moxa NPort 设备缺陷可能使关键基础设施遭受破坏性攻击
5. SAP ABAP OData 服务如何支持 $filter (过滤)操作
原子操作 CAS
CorelDRAW2022 streamlined Asia Pacific new features in detail
11. Redis implements follow, unfollow, and follow and follower lists