facebook / facebook/hermes

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

Aperta
#167 10 commenti 0 reazioni 0 assegnatari Vedi su GitHub
need more info
Lingua principale
JavaScript
Stelle
11.3k
Fork
859
Merge medio
1h 30m
PR unite (30g)
3

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.