[Lldb-commits] [lldb] [lldb-vscode] Show value addresses in a short format (PR #66534)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 15 12:34:26 PDT 2023


https://github.com/clayborg requested changes to this pull request.

I would rather we add a new setting in lldb that controls if we see hex values with leading zeroes and allow users to set this. It will be _very_ easy to fix this as all you need to do is fix lldb_private::DumpDataExtractor() and change the "case eFormatHex:" case.

Setting could be:
```
(lldb) settings set target.show-hex-values-with-leading-zeroes true
(lldb) settings set target.show-hex-values-with-leading-zeroes false
```
Then users can choose how they want to see their values and it will be consistent across the command line and IDEs

https://github.com/llvm/llvm-project/pull/66534


More information about the lldb-commits mailing list