<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/110756>110756</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
lldb python scripting: unable to show `target.debug-file-search-paths` value using `SBDebugger::GetSetting`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
lldb
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ZequanWu
</td>
</tr>
</table>
<pre>
After setting `target.debug-file-search-paths` on command line, `lldb.debugger.GetSetting("target.debug-file-search-paths")` is unable to show the value, while it works for `target.source-map`.
```
$ lldb
(lldb) settings set target.debug-file-search-paths /tmp/
(lldb) settings set target.source-map /tmp/a/ /tmp/b/
(lldb) script
Python Interactive Interpreter. To exit, type 'quit()', 'exit()' or Ctrl-D.
>>> lldb.debugger.GetSetting("target.debug-file-search-paths")
NULL
>>> lldb.debugger.GetSetting("target.source-map")
[0]:
[0]: /tmp/a
[1]: /tmp/b
>>> lldb.debugger.GetSetting("target")
arg0: ""
auto-apply-fixits: True
auto-import-clang-modules: True
auto-install-main-executable: True
auto-source-map-relative: True
breakpoints-use-platform-avoid-list: True
clang-module-search-paths: NULL
debug-file-search-paths: NULL
```
lldb version is trunk.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysVN-L4zYQ_mvkFyEjjxP_ePBD9tKUwlEKd6XQN9me2OrKlk8aZXf_-yI7S7LLtj2OgnA00syXT9_8UN7rYUZs2P6B7Y-JCjRa1_yJ34Ka_whJa_uX5nAmdNwjkZ4HzgpJyg1IaY9tGMRZGxQeletGsSgaPSsktzPv7DSpuedGz8jgU4wzpm-3qAFd-jPSlw2TQcUA_gMVgEEdsbXnYVatQU6W-9E-cRqRX5QJ6_88jdog18SfrHv0_GzdHWVvg-tQTGphhUyZPDJ5uH4LeV2bCTse6b5a1WpA_SqDjxv-75Q5gxNNC4PTd6HcuN0CFYPTzWo_hOqcXmg7_u2FRjvzX2ZCpzrSF9z2i0NCl_KvluOzpigTvSzIGZTfQrSrqC2Ua56g3HyuZ9w6_omcEcdXvfKftsX_h3yuiL_-_vnzD2HfpfMOju0fJNsfWX5NLee3k3tpt0u2f8je37U_wuaegnKD3BAhru0skBVqWcyLOOtnTT46fHUB7671tFhHojNqHsRk-2DwQ7fZkzJGTErPAp-xCxQb4gPPm0LCoVGxJN56tQ7V42L1TF4Ej2Ixis7WTUJdrO6F0Z7eBtxze5vR_MBvmfyntL9xet906zdqzS_ovLZzbHZyYX5Mk77J-zqvVYJNVkJZQSZlnYxNVRd1rWB37rICqr7K2x7OfVfUebfvunqf6AYk7DIpM4Cs2NVpXpUVVEq2ZSFLWXVsJ3FS2qTGXKbUuiHR3gdsskyW-yIxqkXj1wkJsHUdxFnpmugv2jB4tpNRKH9DIE0Gm_Upy9aUW5_GmskP7wfYd83UdcLx4K9D-MvD8VqPsdDzw11RFjIJzjQj0RIFj1MDToOmMbRpZycGp8jz-iMWZ__Cjhic1md7Bqfryy8N_B0AAP__4WLr5w">