-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Debug console with DWARF debugging isn't printing the expected value #194232
Comments
This isn't something that really works, as we can't compile language X into code that we can execute to evaluate an expression. I don't think we can wholesale disable the debug console input when in WASM locations, but we could print some more helpful error message. |
I kind of wasn't expecting it to work, what confused me the most was it was saying |
It looks like we actually can evaluate some expressions and the DWARF debugger includes lldb-eval. So we just need to delegate execution there, and complex expressions will error appropriately. Should be easily enough. |
* fix: delegate wasm evaluation with dwarf Fixes microsoft/vscode#194232 * update test fixture
🤔 all my fibonacci.c breakpoints are unbound now |
@joyceerhl can you confirm the DWARF debugging extension is installed and enabled, and if so set |
Works well, I forgot I'd disabled it for verifying another issue 🤦 |
Testing #194071
See top left
a
and debug consolea
:The text was updated successfully, but these errors were encountered: