Status: New
Owner: ----
Labels: Milestone-1.3 Type-Bug
New issue 4972 by
[hidden email]: NullStream breaks the debugger
http://code.google.com/p/pharo/issues/detail?id=4972Instances of NullStream break the debugger because Stream>>printOn: relies
on #contents to be implemented, while NullStream>>contents: is self
shouldNotImplement. Emergency evaluator pops up.
To reproduce:
[| a |
a := NullStream new.
self break] value
Applies to latest 1.4 too.
Attached a fix.
Perhaps the debugger should be fault tolerant regarding such errors?
Inspector, for example, handles it gracefully.
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker