<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/125355>125355</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[lldb] `.pdb` is not being searched in current binary path on MS Windows
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
brunvonlope
</td>
</tr>
</table>
<pre>
lldb have a strange behavior of not searching for .pdb files which are along the corresponding binary. For example, this .pdb file placement is totally ignored by lldb:

So, we need to manually do `target symbols add binary.pdb` to each binary, which is makes the whole debugging undoable in complex programs
Since we can't have something like `.gnu_debuglink`, lldb should do the work by itself searching the .pdb files in the binary path, like WinDBG do.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8U02P7CYQ_DX40pqRB38NBx92s5ooh5zeIceogbYhi8ECPPPm30ewE709RbJkBOrq6qpqTMmunmhmwzsbPho8sglxlvHw9-Bd2KmRQT9n57QEg3cChJQj-pVAksG7DRHCAj5kSIRRGetXWEKE864lLNZRgoexygBGAnTBr5ANgQoxUtqD16VAWo_xeYZbiEA_cdsdMf4bZGPTLyDYHSrayGewCXLI6NwT7OpDJA3yCYUk696AtW_l4xc2vP-x4Ups-GD8anLeE-veGL8xflttNoc8q7AxfjsSxRPmjMoU_MT4DVOieiCp-65f1InTOJ560V5P17HTp8tl6oRqhVYTMS6-mv4IhfeDwBNpyAE29EflqQOwsc0YV8qQnpsMLgFq_d_su5ZsbEsJoTKv2wpW1bMJNvykVMV7mOAINMljXYt8h9cBpSOwHlQo6v2EPYY14pZevKxXVHgp9IxP-cvLFDbK1TFnP6nwO6_--LsCO-s_2dgWBtX8ZMLhdBmjMgjxs0hucyK3fLO-PH6z3vp68zUN7JhNBSzd_rL-4_130OHc6LnTohPY0HyZumvfXcUkGjOPOPRyEMglLkL33Tgty6g7IdqraCd1bezMWz60vL1cRM8Hce6WbtLtdUIlJtlpZH1LG1p3du6-nUNcG5vSQfOFD90wNA4luVTDz7mnB9RXxnnZhTiXopM81sT61tmU0y-YbLOrW1NDN3xU8V4e2lT3QVIR5Esa0tWbI8YS329yQPDw548ihg6P1BzRzf-T09L-9TvtMfxDKjN-q6RLVF9T3Wf-bwAAAP__BxRGqw">