简体   繁体   English

为什么我需要带有-sources后缀的库文件?

[英]Why do i need library file with -sources suffix?

I don't understand why there are often two files in libraries, one with -sources suffix. 我不明白为什么库中经常有两个文件,一个带有-sources后缀。

Here's what i mean 这就是我的意思

两个文件

The sources are useful if you want to step into the library when debugging. 如果要在调试时进入库,则源非常有用。 You don't need them, but they might save you if you can't understand why the library behaves in a certain way. 不需要它们,但如果您无法理解库以某种方式运行的原因,它们可能会保存您。

要添加到下面的答案,-source存档是实际的源代码,而另一个文件是它的编译版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM