fanliang11 / surging

Surging is a micro-service engine that provides a lightweight, high-performance, modular RPC request pipeline. support Event-based Asynchronous Pattern and reactive programming ,The service engine supports http, TCP, WS,Grpc, Thrift,Mqtt, UDP, and DNS protocols. It uses ZooKeeper and Consul as a registry, and integrates it. Hash, random, polling, Fair Polling as a load balancing algorithm, built-in service governance to ensure reliable RPC communication, the engine contains Diagnostic, link tracking for protocol and middleware calls, and integration SkyWalking Distributed APM
MIT License
3.24k stars 923 forks source link

关于使用VS0222附加调试,偶尔出现VS进程一直无响应的问题 #435

Open ggw128 opened 3 months ago

ggw128 commented 3 months ago

大佬,您好! 我在VS0222 附加进程调试微服务时,偶尔出现VS进程一直无响应的问题。只有在windows任务管理器强退VS进程和微服务进程才可以。但微服务独立运行时,没有出现此类情况。 请教大佬这个问题应该怎么排查,如何解决? 谢谢!

fanliang11 commented 3 months ago

因为有组件有多线程处理,附加到VS上调试状态,此线程已阻塞挂起状态,独立运行没有主进程挂起是不会产生此问题的,你可以排除相关组件,或者打开两个VS运行调试

ggw128 commented 3 months ago

因为有组件有多线程处理,附加到VS上调试状态,此线程已阻塞挂起状态,独立运行没有主进程挂起是不会产生此问题的,你可以排除相关组件,或者打开两个VS运行调试

大佬,独立运行没有问题。请教下,打开两个VS运行调试,怎么操作呢?