Opened 12 years ago

Last modified 8 years ago

#4304 enhancement new

Better debugging tools for viewing state of Deferreds

Reported by: Jonathan Lange Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch: deferred-debug-4304-4
branch-diff, diff-cov, branch-cov, buildbot
Author: radix, therve, jml


Deferreds can be quite tricky to debug. Twisted should provide tools for programmers that inspect the state of a Deferred and report it in a meaningful way.

Although graphical output would be nice, we can consider this ticket closed when we have a function that dumps some text for a Deferred that includes:

  • whether the Deferred is paused
  • whether the Deferred is running
  • the callback chain
  • the current value
  • whether the Deferred is waiting on another

Change History (7)

comment:1 Changed 12 years ago by Jonathan Lange

Author: jml
Branch: branches/deferred-debug-4304

(In [28468]) Branching to 'deferred-debug-4304'

comment:2 Changed 11 years ago by <automation>

Owner: Jonathan Lange deleted

comment:3 Changed 10 years ago by radix

Author: jmlradix, jml
Branch: branches/deferred-debug-4304branches/deferred-debug-4304-2

(In [32842]) Branching to 'deferred-debug-4304-2'

comment:4 Changed 9 years ago by radix

Branch: branches/deferred-debug-4304-2branches/deferred-debug-4304-3

(In [36286]) Branching to 'deferred-debug-4304-3'

comment:5 Changed 9 years ago by therve

Author: radix, jmlradix, therve, jml
Branch: branches/deferred-debug-4304-3branches/deferred-debug-4304-4

(In [38516]) Branching to 'deferred-debug-4304-4'

comment:6 Changed 9 years ago by radix

Branch: branches/deferred-debug-4304-4

I created a new ticket to track one part of the implementation: bug #6538.

comment:7 Changed 8 years ago by Tom Prince

Branch: deferred-debug-4304-4
Note: See TracTickets for help on using tickets.