From 8b1d59cafac9b2dd30cd080450ee68e85a039dc4 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Tue, 27 Dec 2016 15:15:30 -0800 Subject: Add some debug utilities This PR adds a set of debug helpers that are intended for calling only from gdb. They cross abstraction boundaries and allow quickly accessing one thing from another thing. I expect to grow this library significantly over time to aid debugging tricky problems. --- tools/buildgen/plugins/expand_filegroups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/buildgen') diff --git a/tools/buildgen/plugins/expand_filegroups.py b/tools/buildgen/plugins/expand_filegroups.py index 477e69c869..46739f8f10 100755 --- a/tools/buildgen/plugins/expand_filegroups.py +++ b/tools/buildgen/plugins/expand_filegroups.py @@ -85,7 +85,7 @@ def mako_plugin(dictionary): skips = 0 while todo: - assert skips != len(todo), "infinite loop in filegroup uses clauses" + assert skips != len(todo), "infinite loop in filegroup uses clauses: %r" % [t['name'] for t in todo] # take the first element of the todo list cur = todo[0] todo = todo[1:] -- cgit v1.2.3