Ask HN:网页应用卡死,但 Chrome 录制时却不卡。如何调试?

3作者: febed8 个月前
我遇到了一个超级烦人的海森堡bug,它在 Chrome 调试器的性能记录会话中从不出现。 基本上,这是一个 Angular/AngularJS 混合应用,其中包含一个表单,在您导航到另一个标签页后返回时会冻结。<p>除了逐行注释代码之外,有什么调试这个问题的建议吗?
查看原文
I have a super annoying heisenbug, that never occurs during the Chrome debugger performance recording session. Basically it&#x27;s an Angular&#x2F;AngularJS hybrid app with a form that freezes when you return to it after navigating to another tab.<p>Any suggestions on how to debug this other than just commenting out code step-by-step?