-
Notifications
You must be signed in to change notification settings - Fork 335
Closed
Labels
in debuggingRelates to the debug adapter or process of running debug sessionsRelates to the debug adapter or process of running debug sessionsis bug
Milestone
Description
The experimental expression evaluation feature supports evaluating closures, but causes an error displayed in VSCode debug console (see image below).
Repro steps
- Install flutter
- Use flutter's example/hello_world, set a breakpoint in
flutter/packages/flutter/lib/src/widgets/binding.dart:921 - Add
--web-enable-expression-evaluationflag to dart args inlaunch.json:
{
"version": "0.2.0",
"configurations": [
{
"name": "Flutter",
"request": "launch",
"type": "dart",
"args": ["--web-enable-expression-evaluation"],
}
]
}
- hover over
attachRootWidget
Actual behavior
- native function text without a body is displayed in pop-up box, and appears to not have a lot of useful information
Unknown instance kind: closureerror appears in the debug console
Expected behavior
- some useful representation of the function displayed, for example:
- maybe full text (if small)
- or a signature and a few lines
- or no popup at all
- no error in display window
Metadata
Metadata
Assignees
Labels
in debuggingRelates to the debug adapter or process of running debug sessionsRelates to the debug adapter or process of running debug sessionsis bug
