dart-lang / dart-lang/webdev

`globals` are not exposed in the Debugger

Open
#2,442 3 comments 0 reactions 0 assignees View on GitHub
P2 package:dwds triaged
Dominant language
Dart
Stars
224
Forks
94
Avg merge
7h 14m
Merged PRs (30d)
2

Description

`global` Dart variables are not currently shown in the debugger.

@nshahan did some investigation and found we will likely need to request the `globals` for the current library. In Chrome DevTools, they are discoverable in a closure with the library name:

Screenshot 2024-05-30 at 10 06 34 AM

Contributor guide

Open the contributing guide

Research direction

Begin with the debugger integration and the current-library scope request described in the issue; use the Chrome DevTools closure shown as the reference. The issue names no files or tests. Done means global Dart variables from the current library are visible in the debugger.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.