The application is in break mode - Unable to determine cause

前端 未结 8 1686
無奈伤痛
無奈伤痛 2021-02-03 22:57

I\'m experiencing that the IDE breaks sometimes when my application terminates.

When this occurs, the call stack is empty, and the thread list shows some threads which d

8条回答
  •  梦毁少年i
    2021-02-03 23:47

    This can also occur when a single threaded Winforms application takes more than 60 seconds to complete an action in the main thread.

    I solved it in the dirty way, by calling Application.DoEvents() on regular intervals from the main thread, during too long processing. Exceptions that occur between Application.DoEvents calls are handled properly in the IDE.

提交回复
热议问题