Can I retrieve the source code of the library packaged with Conan package manager to be able to debug in it?

Viewed 2600

Typically Conan package contains only build artifacts like *.dll, *.lib, *.pdb, *.so, *.a, *.dylib files as well headers of given C or C++ library. However sometimes when you debugging your code consuming the library is very useful to be able to step into the library code to look what happens inside. For example to determine when having some problem whether this is because of incorrect use of the library or because of bug in it.

  1. Is it possible alongside package which you consume to retrieve the source code from which it is build to be able to debug in it?
  2. If this is not possible for arbitrary package whether it is possible to create such package by yourself?
1 Answers
Related