News for hackers. Stuff that matters.

Web app freezes–but not when Chrome is recording. How to debug?

I have a super annoying heisenbug, that never occurs during the Chrome debugger performance recording session. Basically it's an Angular/AngularJS hybrid app with a form that freezes when you return to it after navigating to another tab.

Any suggestions on how to debug this other than just commenting out code step-by-step?

( 2 comments | on HN )
Re:Web app freezes–but not when Chrome is recording. How to ... by bitbasher on Saturday October 18, 2025 @12:10AM (#45624823)
If you can't inspect it due to it freezing, I suggest trying to make it not freeze to begin with.

Slash dependencies and code until you get to a state that doesn't freeze. Then start adding dependencies and code back one at a time until it starts freezing again.

Narrow it down and you'll get it, eventually.

Re:Web app freezes–but not when Chrome is recording. How to ... by kentbrew on Sunday October 19, 2025 @12:18AM (#45632029)
How many machines have you tried? This sounds like it might be one of those things that only happens on a dev box.