facebook / facebook/hermes

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

Offen
#167 10 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
need more info
Vorherrschende Sprache
JavaScript
Sterne
11.3k
Forks
859
Ø Merge
1 Std. 30 Min.
Gemergte PRs (30 T.)
3

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.