vuejs / vuejs/devtools

reactivity.esm-bundler.js:1925 & reactivity.esm-bundler.js:1930 Uncaught (in promise) RangeError: Maximum call stack size exceeded

Open
#738 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

need reproduction
Dominant language
TypeScript
Stars
2.9k
Forks
279
PR merge metrics
No merged PRs in 30d

Description

I got the same issue as appears in #420 , but this time in the "traverse" function. I saw another issue about this (#689), but that one was not English and the connection was not made with #420 (and the error & lines are a little bit different).

I dont know the exact reason, but it looks like there is a infinite loop in the Traverse function. Maybe the issue is solved by just applying the fix for #420 in the Traverse function.

When devtools is disabled, the error does not occur. But because the error does occur, we have to choose between disabling devtools or not pushing the code tot the dev environment (because other people will get the error)

I currently do not have a minimal reproduction case, because I would have to ask my manager if I can spend time on finding the exact issue and building a repoduction case. I hope my information is enough to find a solution.

Problem is for both the Chrome extension and the "vite-plugin-vue-devtools" library.

Versions:
Vue: 3.5.11
vite-plugin-vue-devtools: 7.5.4
Devtools chrome extension: 7.6.8

Error:
image

Error lines:
image
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported traverse call path around reactivity.esm-bundler.js:1925 and :1930, using Vue 3.5.11 with the listed devtools integrations if a reproduction can be created. Done means isolating the recursive stack overflow and adding a regression test that covers devtools-enabled operation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.