Test case for issue 6247 (Show runtime errors inside the Script panel)
http://code.google.com/p/fbug/issues/detail?id=6247