dart-lang / dart-lang/webdev

Unexpected DWDS error for getObject | rti.dart

Open
#2,582 1 comment 1 reaction 0 assignees View on GitHub
package:dwds
Dominant language
Dart
Stars
224
Forks
94
Avg merge
7h 14m
Merged PRs (30d)
2

Description

There are similar errors regarding DWDS, but I couldn't find this one specific. It happens in my whole codebase preventing me from using breakpoints on the web.

```
Unexpected DWDS error for getObject
text: Uncaught
exception:
preview: null
description: DartError: Assertion failed: org-dartlang-sdk:///dart-sdk/lib/_internal/js_shared/lib/rti.dart:2211:12
rule != null
is not true
at Object.rhow_
at Object.assertFailed
at _Universe.evalTypeVariable
at _Parser.handleIdentifier
at _Parser.parse
at _Universe._parseRecipe
at _Universe.evalInEnvironment
at [_eval]
at type
at Object.rtiFromSignature
at Object._collectFieldDescriptors
at Object.getClassMetadata
...
```

Flutter 3.27.0

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the DWDS getObject failure with Flutter 3.27.0 and inspect the reported rti.dart assertion and stack trace. Confirm the failure no longer occurs and that web breakpoints work in the affected codebase.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.