WebFreak001 / code-debug

Native debugging for VSCode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Variables Evaluate is NOT Working for Struct Pointer of Function Variable

xiaoyun94 opened this issue · comments

If submitting a bug please make sure

  • [Y] If you are using gdb
    • [Y] gdb --version >= 7.7.1
    • [Y] it works on the command line with gdb
    • [Y] cwd and target are properly set
  • If you are using lldb
    • lldb --version >= 3.7.1
    • it works on the command line with lldb-mi
    • cwd and target are properly set

Screenshots are helpful but not required
All extension versions matter.
My Gdbs with verison 10.1/9.x have same problem
image

This PR
https://github.com/WebFreak001/code-debug/pull/414/files
Deal with this problem, but maybe not the best solution

Thank you for both raising this and providing a PR for the fix. LGTM.
Can you please rebase the PR and add a Changelog entry, as well as providing an "after" picture?