aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/buildgen
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-12-27 15:15:30 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-02-03 11:50:04 -0800
commit8b1d59cafac9b2dd30cd080450ee68e85a039dc4 (patch)
tree309539b0552ddfbbcde65bf3e714a8bac6e451cd /tools/buildgen
parente805ba0bec3bc448b11591aaac23b3be12052452 (diff)
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.
Diffstat (limited to 'tools/buildgen')
-rwxr-xr-xtools/buildgen/plugins/expand_filegroups.py2
1 files changed, 1 insertions, 1 deletions
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:]