<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 12 Oct 2017, at 12:09, 73budden . wrote:</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<p dir="auto">This tracing tool should help a lot.</p>
<p dir="auto">I believe this tool should be supplied by asdf team. Even I begin to<br>
be more positive towards efforts of ASDF team to clean up all the mess<br>
that was in ASDF initially, but obviously society is not quite happy<br>
with breaking changes, so some small tool with a good manual would<br>
make life easier.</p>
</blockquote>
<p dir="auto">This will probably not happen for a while -- my work on other aspects, and just staying on top of bugs and testing takes most of the available time.</p>
<p dir="auto">But I think I can provide pieces of a recipe for this kind of debugging and if someone out there could give feedback, I will see to it that the recipe gets into the manual.</p>
<p dir="auto">I think if you want to see the plan that ASDF produces to perform a requested operation, you should use something like:<br>
<code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7"><br>
(setf *plan* (asdf/plan:make-plan nil (make-operation 'load-op) (find-system "sysname")))<br>
</code></p>
<p dir="auto">Then, to figure out what's happening, I would suggest<br>
<code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7"><br>
(trace asdf:operation-done-p)<br>
</code><br>
...to see if ASDF is wrong about whether or not it needs to do some operations.</p>
<p dir="auto">Then I would try something like tracing <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">PERFORM</code>.</p>
<p dir="auto">I'd have to think a little about what to do if <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">MAKE-PLAN</code> gives you a plan you don't expect.</p>
<p dir="auto">cheers,<br>
r</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<p dir="auto">Printing readtable before loading, I think, requires just a line or<br>
two. Dumping log of operations might be one (trace) call, so that's<br>
trivial for the person who knows how ASDF is organized. Writing a<br>
small two-paragraph addition to manual would relief a lot of pain and<br>
stress for all.</p>
</blockquote>
</div>
</div>
</body>
</html>