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

Error: Invalid Value Object #1142

Open
ImkoMarijnissen opened this issue Sep 17, 2024 · 0 comments
Open

Error: Invalid Value Object #1142

ImkoMarijnissen opened this issue Sep 17, 2024 · 0 comments

Comments

@ImkoMarijnissen
Copy link

OS: WSL 2 - Ubuntu 22.04
VSCode version: 1.93.1
CodeLLDB version: 1.10.1
Compiler: rustc
Debuggee: x86_64-linux-gnu

While debugging, I ran into the issue that I cannot see the values of vectors as it simply shows that <error: invalid value object> with the following error output message:

Verbose log
[DEBUG codelldb::dap_codec] --> {"command":"evaluate","arguments":{"expression":"boolean","frameId":1001,"context":"watch"},"type":"request","seq":26}
ERROR(Python) 13:47:14 codelldb: Traceback (most recent call last):
  File "/home/user/.vscode-server/extensions/vadimcn.vscode-lldb-1.10.0/adapter/scripts/codelldb/codelldb.py", line 175, in evaluate
    value = evaluate_in_context(pycode, is_simple_expr, context)
  File "/home/user/.vscode-server/extensions/vadimcn.vscode-lldb-1.10.0/adapter/scripts/codelldb/codelldb.py", line 320, in evaluate_in_context
    return eval(code, eval_globals, eval_locals)
  File "", line 1, in 
  File "/home/user/.vscode-server/extensions/vadimcn.vscode-lldb-1.10.0/adapter/scripts/codelldb/codelldb.py", line 309, in 
    eval_globals['__eval'] = lambda expr: nat_eval(frame, expr)
  File "/home/user/.vscode-server/extensions/vadimcn.vscode-lldb-1.10.0/adapter/scripts/codelldb/codelldb.py", line 300, in nat_eval
    raise Exception(err.GetCString())
Exception: error: could not find item
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