Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug plugin causes console statements to throw #759

Open
ewoerner opened this issue Sep 17, 2024 · 0 comments · May be fixed by #760
Open

debug plugin causes console statements to throw #759

ewoerner opened this issue Sep 17, 2024 · 0 comments · May be fixed by #760

Comments

@ewoerner
Copy link
Contributor

In multiple circumstances, the debug plugin throws errors.

Example: console.log(window)

Uncaught RangeError: Maximum call stack size exceeded
    at JSON.stringify (<anonymous>)
    at <anonymous>:60:16
    at Array.forEach (<anonymous>)
    at debugTab.console.renderLine (<anonymous>:57:8)
    at debugTab.console.log (<anonymous>:86:20)
    at window.console.<computed> [as log] (<anonymous>:110:31)
    at <anonymous>:1:9

See also bannergress/iitc-plugin#34

In general, the contract of console.something() is that it must never throw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant