mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
d0ed21531a
Summary: Currently, if you try to inspect globals in the debugger and they have properties that throw exceptions, the app redscreens. In particular, inspecting any function triggers the bug because of `arguments` and `caller`. This diff catches the exception and shows a placeholder instead. Changelog: [Internal] Reviewed By: mhorowitz Differential Revision: D18664765 fbshipit-source-id: 0c662f3d97b21a29c57a1dd724e63d17a3b4e263