1
0
Fork 0

make debug.attributes() verbose by default. This adds the refcounter to

the property attribute string, as in:

  (NONE, L1, #8345)

... for a node of type "NONE", with one listener attached, and 8345 instances
of the shared pointer around.
This commit is contained in:
mfranz 2007-11-15 21:27:42 +00:00
parent 3a83fb99d5
commit d85ba7575c

View file

@ -137,7 +137,7 @@ var _tree = func(n, graph = 1, prefix = "", level = 0) {
}
var attributes = func(p, verbose = 0) {
var attributes = func(p, verbose = 1) {
var r = p.getAttribute("read") ? "" : "r";
var w = p.getAttribute("write") ? "" : "w";
var R = p.getAttribute("trace-read") ? "R" : "";