Skip to content

Accessing the package details seems to return invalid data. #6734

@vlidholt

Description

@vlidholt

I'm trying to access the name of the main package from Devtools running inside the browser. It looks like I'm getting invalid data back.

var rootInfo = serviceManager.rootInfoNow();

var package = rootInfo.package;
// Returns: "file:"

var library = rootInfo.library;
// Returns: "file:///Users/viktor/Projects/tests/gui_1/gui_1_server/bin/main.dart"

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3issues we think are valid but not importantbugSomething isn't workingdevtools extensionsIssues related to DevTools extensions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions