Skip to content

Evaluate a' during debug #110

Open
Open
@db4

Description

Hovering over a variable with trailing single quote (like a') does not work properly: a is evaluated instead. I suppose it's vscode debug engine passing the wrong name to evaluateRequest() but maybe it can be tuned to handle OCaml variable names correctly? initializeRequest() or something like that?

A related problem is that one cannot evaluate record fields like a.b. Besides problems with hovering engine it also requires some changes in the value parser to work even in a watch: ocamldebug responds in that case with "$<number> : <type> = <value>" where $<number> is a temporary id, not acceptable for the current parser.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions