Permalink
Browse files

Minor - some debugging features

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
  • Loading branch information...
1 parent 4ec63f1 commit 0739f254ade16f0fb7ebbe8e86c86b54d4df35d0 @magnayn committed Nov 8, 2011
@@ -121,6 +121,13 @@ package com.nirima.ribbons.context
_liveInjections = new Dictionary();
}
-
+ public function dump():void {
+ trace("Live Injections:");
+ for each(var injectionResult:InjectionResult in _liveInjections)
+ {
+ injectionResult.dump();
+ }
+ }
+
}
}
@@ -80,5 +80,10 @@ package com.nirima.ribbons.injector
}
}
+
+ public function dump():void {
+ trace("Bindings: " + bindings);
+ trace("Contexts: " + contexts);
+ }
}
}

0 comments on commit 0739f25

Please sign in to comment.