Unverified Commit b8d38bb5 authored by jeffreytan81's avatar jeffreytan81 Committed by GitHub
Browse files

Fix dap variable value format issue (#90799)



While adding a UI feature in VSCode to toggle hex/dec in variables view
window. I noticed that it does not work after second toggle. Then I
noticed that there is a bug that we only explicitly set hex format not
reset back to default during further toggle. The new test demonstrates
the bug.

This PR resets the format back to default if not using hex. One
complexity is that, we explicitly set registers value format to
AddressInfo, which shouldn't be overridden by default or hex settings.

---------

Co-authored-by: default avatarjeffreytan81 <jeffreytan@fb.com>
parent 2cde0e2f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment