It would be useful if showLayerTree() when called from gdb showed the object addresses.
Created attachment 52334 [details]
Comment on attachment 52334 [details]
> + if (behavior & RenderAsTextShowAddresses)
> + ts << " " << static_cast<const void*>(&o);
What happens if you don't do the static_cast? Does it fail to compile? Can you leave the cast out?
I was able to remove the casts!