Closed JavaScriptDude closed 8 months ago
My Setup is a Mint 21.3 Host with inspect.dev running on a windows Guest on VMWare Workstation.
Same issue occurs using inspect.dev from Linux host using latest AppImage
file.
It also occurs using the older remotedebug_ios_webkit_adapter
from github.
Thanks for this report. We have been trying to chase this down but never got a repro. Might be the use of console.tab
that fills up the stack. We will dive in
No problem.
FYI - I tested this on a bare bones Mac using Chrome and I got the same issue. Since I was not using inspect.dev
in that test, I suspect this is not an issue with your stack.
To get around this, I've put guards in my internal logging framework to detect and serialize event objects before sending to console.table.
Confirmed that this is Webkit stopping script execution, and not Inspect. Closing for now.
I discovered a scenario where the webpage will completely hang when a "maximum stack size exceeded" error occurs.
Here is a basic Javascript that can be put on a web page with this script to illustrate the issue. This works without any issues when there is no debugger attached.
I believe this stack size exception is related to a limit that apple put on maximum stack sizes several years back.
Hopefully this hanging issue is not on apples side of the fence and can be corrected in the inspectdev toolchain.