文章讲述了通过WinDbg分析程序卡死问题,最终定位到问题代码是IntPtr handle = this.Handle,解决办法是用bp拦截System.Windows.Forms.Application+MarshalingControl..ctor方法。
完成下面两步后,将自动完成登录并继续当前操作。