You should still see the unhandled deferred in your logs if that&#39;s truly the case.<span></span><br><br>On Thursday, June 28, 2012, Dan Stromberg  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="margin-left:40px"><br></div>Hi.<br><br>I&#39;m a Twisted neophyte, but I&#39;ve been using Python a long time.<br><br>My question:<br>
<div style="margin-left:40px">Is there a way of producing a deferred 
graph in a Python program at a given point in time?  Perhaps something 
based on graphviz and objgraph.py?  We&#39;re able to detect when we&#39;re 
having the problem, we just don&#39;t (yet) know its cause.<br>
</div>
<br><br>Background:<br><div style="margin-left:40px">I&#39;m looking at some code with a bit over 200 addCallback/addErrback/addCallbacks in it.<br><br>It&#39;s got a problem where sometimes the deferreds seem to just stop executing.  I see in the doc it says that this can happen if you&#39;ve neglected to add an errback to the end of one or more of your deferred chains.<br>

<br>One of the people who&#39;s been here longer than me, indicated that he&#39;s gone through the code looking for such issues, and didn&#39;t find any.  This suggests to me that either there&#39;s some other cause, or that it really is a deferred without a final errback, but it&#39;s hidden in a dark corner of the code somewhere.<br>

</div><br><br>Thanks!<br><br>
</blockquote><br><br>-- <br>cheers<div>lvh</div><br>