I wrote a vsto Excel project for the project, and the debugging times "CLR cannot be converted from com context 0x159268 to com context 0x158f88, which has lasted 60 seconds. The thread with the target Context/unit is likely to execute a non-pump wait or process a very long operation without sending a Windows message. This usually affects the performance and may even lead to applicationsProgramNo response or memory usage accumulates over time. To avoid this problem, all single-threaded (STA) threads should use pump-type wait elements (such as cowaitformultiplehandles) and regularly send messages during long-running operations ." After confirming, you cannot perform a one-step test (this problem is left blank when you execute .exe ).
Check the relevant information and select an exception under the debugging menu of vs. net. Cancel the triggering option next to "contextswitchdeadlock" under "managed debugging assistants,
Debug again,
Solve the problem.