Skip to content

Logpoint does not evaluate expressions inside curly braces {}; outputs literal placeholder instead of variable value #239

Description

@itschenjing

Description

When using a logpoint in VS Code, the log message does not correctly replace the expression enclosed in curly braces {} with its evaluated value. Instead, the original placeholder text is printed literally.

Example

  • Log condition set to: testA variable = {var}
  • Expected output: testA variable = 42 (assuming var equals 42)
  • Actual output: testA variable = {var} (no substitution occurs)

plugin version = v2.8.0

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions