![]() ![]() They store symbol information, like variable names and functions, linking them to the source files. These files act as a bridge between instructions loaded into memory and the source code. The most important thing, when trying to debug anything is to obtain PDB files for the DLL. ![]() Turns out, there are lots of handy ways to debug such libraries straight from Visual Studio! First, you need PDBs And even if you do, you may aim for a better debugging experience, where sources get downloaded automatically when needed by debugger. But, not always you do have access to the sources. Sometimes, if you have access to the source code, you can just switch DLL reference to csproj reference and debug this way. After all, many times all you have is a DLL file. The issue is, debugging them is not as easy as debugging projects living within one solution. ![]() The same often applies to packages from your organization private feed. Have you encountered a case where you needed to debug an external library? Be it Newtonsoft.Json or AspNetCore MVC, sometimes things go wrong and you need to get to know package internals to find the issue. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |