The application is in break mode - Unable to determine cause

前端 未结 8 1843
無奈伤痛
無奈伤痛 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条回答
  •  一个人的身影
    2021-02-03 23:28

    I didn't find any way to actually debug the problem. I solved the problem the bruteforce way:

    I removed all assemblies and COM objects one by one until the error was gone.

    In my case, I had a public control with a WithEvents in a module. It seems that VB.NET didn't like that at all. From now on, I will put the control and its withevent in a form.

    The main problem however remains: Visual Studio doesn't offer any help to isolate the problem easily.

提交回复
热议问题