aboutsummaryrefslogtreecommitdiff
path: root/lout
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-08-15 12:39:00 +0200
committerSebastian Geerken <devnull@localhost>2013-08-15 12:39:00 +0200
commitbd17107d17663c847e671ff736af969b5c441e71 (patch)
treeaabb246d5d8b333ee126c2f66ffa7a55ed7091aa /lout
parent8327ae5fc00726c4746c085ed35c3f0d02890616 (diff)
Some debugging stuff.
Diffstat (limited to 'lout')
-rw-r--r--lout/identity.cc4
-rw-r--r--lout/object.cc4
2 files changed, 6 insertions, 2 deletions
diff --git a/lout/identity.cc b/lout/identity.cc
index c9cb7ece..61f59ace 100644
--- a/lout/identity.cc
+++ b/lout/identity.cc
@@ -69,7 +69,9 @@ IdentifiableObject::IdentifiableObject ()
void IdentifiableObject::intoStringBuffer(misc::StringBuffer *sb)
{
- sb->append("<instance of ");
+ sb->append("<instance ");
+ sb->appendPointer(this);
+ sb->append(" of ");
sb->append(getClassName());
sb->append(">");
}
diff --git a/lout/object.cc b/lout/object.cc
index 2b87e98b..74328d22 100644
--- a/lout/object.cc
+++ b/lout/object.cc
@@ -94,7 +94,9 @@ const char *Object::toString()
*/
void Object::intoStringBuffer(misc::StringBuffer *sb)
{
- sb->append("<not further specified object>");
+ sb->append("<not further specified object ");
+ sb->appendPointer(this);
+ sb->append(">");
}
/**