How to debug finding files

Andreas Davour ante at Update.UU.SE
Tue Nov 26 21:00:54 UTC 2019


On Tue, 26 Nov 2019, Robert Goldman wrote:

> On 26 Nov 2019, at 6:18, Andreas Davour wrote:
>
>> Hi
>> 
>> I've read the manual on how asdf finds the files to load, i.e. the asd 
>> files. But, if you want to follow along when it does that calculation, in 
>> case it goes wrong, how do you do that?
>> 
>> I seem to remember this being posted to the list ages back, but have no way 
>> of searching that history.
>> 
>
> Some time ago, Faré offered this advice:
>
>> You can
>> `(alexandria:hash-table-alist asdf/source-registry::*source-registry*)`
>
>> or for a higher-level view, you can
>> `(asdf/source-registry:flatten-source-registry)`
>
>> then again, if you use the newfangled source-registry-cache, you can
>> `find ~/common-lisp -name .cl-source-registry.cache`
>
>> I'm not sure what you want to debug, so it's hard to tell how to help you.

That was just what I needed. Making sure the registry contained what I 
expected was key. Many thanks Robert!

I knew Faré had posted that, but I was stupid and had not saved it. Maybe 
it could be fitted to the manual some place?

-andreas

-- 
"economics is a pseudoscience; the astrology of our time"
Kim Stanley Robinson


More information about the asdf-devel mailing list