Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pasting var value from debug window not working #140

Open
ziyouchutuwenwu opened this issue Oct 13, 2022 · 0 comments
Open

pasting var value from debug window not working #140

ziyouchutuwenwu opened this issue Oct 13, 2022 · 0 comments

Comments

@ziyouchutuwenwu
Copy link

Describe the bug
pasting var value from debug window not working

To Reproduce
aaa.erl

-module(aaa).
-export([show/0]).

show()->
  A = 1,
  B = 2,
  C = A + B.

launch.json

{
  "configurations": [
    {
      "name": "debug",
      "type": "erlang",
      "request": "launch",
      "runinterminal": [
        "rebar3",
        "shell",
        "--name",
        "debug@localhost",
        "--setcookie",
        "123456"
      ],
      "projectnode": "debug@localhost",
      "cookie": "123456",
      "timeout": 300,
      "cwd": "${workspaceRoot}"
    }
  ]
}

set breakpoint at the last line on file aaa.erl
press f5 to start debug
in the erlang consone, i run aaa:show(). then breakpoint hit
in debug window, i can see var A and B, then i right click B, choose copy value, open new txt file, right click, paste, or ctrl+v, nothing pasted.

image

Expected behavior
vars from debug window can be pasted

here is the plugin info in vscode

Published 2019/11/18 05:56:41
Last published 2022/10/5 20:25:10
Last updated 2022/10/8 08:06:50
identifier erlang-ls.erlang-ls

image

vscode version
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant