Multithreaded Hot Reload

先生 戴 1 Reputation point
2022-11-10T21:56:42.363+00:00

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
Developer technologies C#
{count} votes

1 answer

Sort by: Most helpful
  1. 先生 戴 1 Reputation point
    2022-11-23T13:23:36.42+00:00

    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

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.