The problem is solved, the tasks in the stack in multitasking cannot be hot reloaded, and it is necessary to establish a static method and start the static method when the task starts, so that modifying the static method can achieve hot reload
Multithreaded Hot Reload
先生 戴
1
Reputation point
In .NET multithreaded programs, after changing the code directly, using the Hot Reload feature has no effect and breakpoint debugging fails to hit. If you directly break the hot reload debugging, it can take effect. How to properly debug without breakpoints in multithreading and let Hot Reload take effect directly
Developer technologies Visual Studio Debugging
1,102 questions
Developer technologies C#
11,570 questions