Skip to content

'$this' appears in variables window on a breakpoint inside an extension method #1372

@annagrin

Description

@annagrin

$this is a JS name for dart this - need to use debug symbols to map it properly.
Not sure where return variable is coming from, it should not be visible either (it is not in VM).

Related: #1371

Possible workaround: remove $ in the display window for now.
@nshahan some ddc questions:

  • would it break any other cases, for example, can $this exist at all in dart, or map to something other than this?
  • can we apply this in general, i.e. will removing $ from JS name always map to its dart name?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onsymbols

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions