facebook / facebook/hermes

Application crashes when trying to get info about some objects and functions during debugging

オープン
#167 コメント 10 件 リアクション 0 件 担当者 0 名 GitHub で見る
need more info
主要言語
JavaScript
スター
11.3k
フォーク
859
平均マージ
1時間 30分
マージ済み PR(30日)
3

説明

Hello, we are the development team of **VS Code** extension for debugging **React Native** apps ([vscode-react-native](https://github.com/microsoft/vscode-react-native)). On debugging a **Hermes** application (**React Native** v0.61.5) in **Google Chrome** we tried to watch the contents of `Map` and `Set` Javascript objects and faced the problem of crashing of the debugged application. The error occurs when we are trying to extend `__proto__` object content. This behavior is the same for `Map` and `Set` objects.
- Trying to extend `__proto__` object content of `Map`
![Screen Shot 2019-12-24 at 13 00 46](https://user-images.githubusercontent.com/33267199/71408994-184b0e80-2651-11ea-891e-7377b120b4d7.png)
- Trying to extend `__proto__` object content of `Set`
![Screen Shot 2019-12-24 at 13 01 57](https://user-images.githubusercontent.com/33267199/71409014-26009400-2651-11ea-8b7f-3870513a3fb4.png)

Is this an expected behavior?

For reference: the list of [known issues with Hermes debugging](https://github.com/microsoft/vscode-react-native/issues/1099) for React Native Tools extension.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。