Skip to content

Debugger intermittently hangs on start with multiple breakpoints in source #1381

@annagrin

Description

@annagrin

Parent issue: Dart-Code/Dart-Code#3518

@DanTup I cannot comment on the original issue for some reason...

@DanTup @apadol-adeo I tried to repro the problem and only got partial success - I can cause the hang on setting more than one breakpoints about every 10th start of the debugger, but it is easily fixed on my machine by stopping the debugger and starting again. The issue seems to be in chrome - a couple of simultaneous calls to setBreakpointByUrl sometimes return Inspector.targetCrashed notification.

Needing to reboot the machine does not seem related to dwds or flutter tools since flutter run -d chrome --web-port=5000 works. Not sure if it is related to VSCode or some machine configuration though.

I will try to workaround this issue and will reach the chrome team so we can have it fixed - hopefully this will help with the machine needing reboot as well, if only by removing the cause.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions