Skip to content

Inspector throws exception when connecting to a paused application #5345

@kenzieschmoll

Description

@kenzieschmoll
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: 'package:devtools_app/src/shared/diagnostics/inspector_service.dart': Failed assertion: line 415 pos 12: 'useDaemonApi': is not true.
inspector_service.dart:415
#0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61)
#1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
#2      InspectorService._addPubRootDirectories
inspector_service.dart:415
#3      InspectorService.addPubRootDirectories
inspector_service.dart:405
#4      InspectorPreferencesController.addPubRootDirectories.<anonymous closure>
preferences.dart:239
#5      InspectorPreferencesController._customPubRootDirectoryBusyTracker
preferences.dart:307
#6      InspectorPreferencesController.addPubRootDirectories
preferences.dart:235
#7      InspectorPreferencesController.loadCustomPubRootDirectories.<anonymous closure>
preferences.dart:292
<asynchronous suspension>
#8      InspectorPreferencesController._customPubRootDirectoryBusyTracker
preferences.dart:307
<asynchronous suspension>
#9      InspectorPreferencesController.loadCustomPubRootDirectories
preferences.dart:287
<asynchronous suspension>
#10     InspectorPreferencesController._handleConnectionToNewService
preferences.dart:203
<asynchronous suspension>

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2important to work on, but not at the top of the work list.fix it fridaygood first issueGood issues for new contributorsreproduce to verifyIssues that need to be reproduced to verify that they still exist.screen: inspector

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions