showell/CoffeeCoffee — Issue #1: toString() is problematic for debugging
Author: showell
Created: 2011-10-12 01:21:08+00:00
State: open

If objects have a custom toString() method, coffeecoffee will call it when in debug mode. Since the toString() method itself typically references the object, coffeecoffee will keep calling back toString() with infinite recursion.

I need to build some mechanism to suppress debug output when I know I'm in a toString() method and referencing the original object. It's probably fairly straightforward, but low priority.

For now: don't write custom toString() methods.