Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
481 views
in Technique[技术] by (71.8m points)

dart - Flutter inspector bugging out/freezing in Visual Studio Code

Today was the first day I came across this issue with flutter widget inspector. When you click "Select Widget Mode" then select an element, it will freeze, and this inception-like view will occur: enter image description here

In addition, if you just resize this window in Visual Studio code, the Widget Inspector view goes blank:

enter image description here

I've almost lost an entire day of development because of this stupid bug.

I have a feeling something got updated automatically and broke things. Does anyone have any idea why this is occurring? It was working so well then all the sudden today it decided to break.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I ran into this issue and did some research. There appears to be some bug reports around this.

This will require a new release of DevTools. Until this happens you can add the following to your VS Code settings.json.

"dart.embedDevTools": false,

This will open DevTools, from VS Code, in your browser.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...