﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
2808	scan for defer.setDebugging(True)	warner	warner	"While investigating problems, we frequently turn on `defer.setDebugging(True)` temporarily. This records stack traces inside Deferreds (both the trace leading up to creation, and the one leading up to the first callback/errback invocation).

Unfortunately this slows things down considerably, and sometimes we forget to turn this back off before committing new code. I think we've done this three or four times so far. The most recent time was a few weeks ago, when the magic-folders code landed with Deferred debugging turned on. Meejah just noticed it and fixed it in [054efe0] today.

We should write some automated test that scans the codebase for `defer.setDebugging(True)` and flunks the tests if it's found. Something in the `code-checks` run, the one where we look for duplicate `umid` values, or mis-captured local variables, or pyflakes failures.
"	enhancement	closed	normal	1.12.0	code	1.11.0	fixed			
