You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Finally, i found the reason. as the following exception report said when run directly from console.
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:
Fix is quite easy, but i have to switch to code or run from command line to find out those useful info.
Maybe those exception log output somewhere i never notice?
Thank you.
Updated.
Add lsp-dart log screenshot, no backtrace log.
The text was updated successfully, but these errors were encountered:
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.
Finally, i found the reason. as the following exception report said when run directly from console.
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:
Fix is quite easy, but i have to switch to code or run from command line to find out those useful info.
Maybe those exception log output somewhere i never notice?
Thank you.
Updated.
Add lsp-dart log screenshot, no backtrace log.
The text was updated successfully, but these errors were encountered: