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

the exception backtrace log of flutter run not output to *Flutter run out buffer. #145

Open
zw963 opened this issue Feb 9, 2022 · 2 comments

Comments

@zw963
Copy link

zw963 commented Feb 9, 2022

Today i spent hours for find out one bug in my code.

this bug give me a quite strange output in emulator screen, no clue, as following screenshot.

image

Finally, i found the reason. as the following exception report said when run directly from console.

image

A RenderViewport expected a child of type RenderSliver but received a child of type RenderConstrainedBox.

As you can see, those log is quite useful for find out why the code is broken in this case, In fact, i resolve this bug when i try to use VSCode to build this project.

it output like this:

image

Fix is quite easy, but i have to switch to code or run from command line to find out those useful info.

image

Maybe those exception log output somewhere i never notice?

Thank you.


Updated.

Add lsp-dart log screenshot, no backtrace log.

image

@ericdallo
Copy link
Member

We need to debug what dap outputs, I'm busy lately so fell free to dive into this

@zw963
Copy link
Author

zw963 commented Feb 9, 2022

I'm busy lately so fell free to dive into this

Sorry, i consider this beyond my ability, for more simpler, e.g. #143, i will try later when free.

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

No branches or pull requests

2 participants