vuejs / devtools

⚙️ Browser devtools extension for debugging Vue.js applications.
https://devtools.vuejs.org/
MIT License
1.7k stars 121 forks source link

fix(kit): top level Proxy value inspect error cause inspection fail #701

Open FoundTheWOUT opened 5 days ago

FoundTheWOUT commented 5 days ago

The getSetupStateType will try to access the Proxy by some flag to judge whether the Proxy is a reactivity or not. If the getter fail, for example, the getter do function call, then the inspection would down. By wrapping getSetupStateType in try...catch block could avoid this situation, but will still get the wrong value. If we have a way to display the Proxy in the StateViewer properly would be impressive.

netlify[bot] commented 5 days ago

Deploy Preview for vue-devtools-docs canceled.

Name Link
Latest commit 45cbb541db0a0f0cdafafc2d73a5317992d1a5d6
Latest deploy log https://app.netlify.com/sites/vue-devtools-docs/deploys/6738b6ca03cc140008d614d5