Problem: the debugger will display the object's "to_s" values in the variable list. Some objects (e.g. huge polygons) deliver very long strings. Generating and showing these strings will stall the debugger.
Solution is to use "repr"/"inspect" for display and stop aliasing "to_s" to "inspect" (Ruby) or "repr" (Python).