Unable find printf.c on Ubuntu 16.04

前端 未结 1 1490
夕颜
夕颜 2021-01-28 04:07

I recently switched to the Ubuntu 16.04. I am using vscode for as IDE on Ubuntu. I configure other languages, but I could not do it for C/C++

相关标签:
1条回答
  • 2021-01-28 04:45

    Debian and Ubuntu do not ship sources as part of the debugging packages unfortunately. As far I can tell, there is no plan to ship sources as part of dbgsym packages, either.

    In contrast, Fedora and its downstream distributions have extensive infrastructure to prepare usable source files for debugging. It is not entirely trivial to do this because it requires rewriting file paths in the DWARF data, from the build tree location to the installation location. But it can be really helpful for debugging and gives a nice free software flavor to the entire distribution.

    0 讨论(0)
提交回复
热议问题