-
Notifications
You must be signed in to change notification settings - Fork 344
Closed
Labels
in debuggingRelates to the debug adapter or process of running debug sessionsRelates to the debug adapter or process of running debug sessionsis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.An enhancement or improvement that should be listed in release notes but is not a bug fix.
Milestone
Description
The dart:developer library has an inspect(Object object) method with the following description:
Send a reference to
objectto any attached debuggers.
Debuggers may open an inspector on the object. Returns the argument.
Dart Code currently doesn't do anything when inspect is called, so I was wondering if adding support for it has ever been considered. Here's how I would imagine this feature to work:
- Dart Code detects that
inspectwas called. - The matching value inside of the "Variables" panel is resolved.
- The "Variables" panel is expanded and the resolved value is highlighted.
Is this doable? If it is, I'd be happy to make a pull request. I might need a little heads up on where to start though.
Reactions are currently unavailable
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 enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.An enhancement or improvement that should be listed in release notes but is not a bug fix.