Skip to content

Known issues of Hermes debugging  #1266

@RedMickey

Description

@RedMickey

This issue continues that one #1099 in terms of debugging via js-debug extension.

The extension has experimental support for React Native Hermes debugging. At this moment we know about several issues related to Hermes debugging. Please see the list of known issues below.

The table of problems consists of two columns: the first one illustrates the problem when the extension is used for debugging an Hermes app , the second one - when Google Chrome is used for debugging an app.

If you faced new issues with React Native Hermes debugging via React Native Tools, please send them to the commentaries section of this issue.

The list of issues

  1. An application crashes when we are trying to watch content of some properties/objects on debugging. The problem is no longer reproducible on Android since React Native 0.66.0, but remains on iOS Hermes. See the issue Application crashes on debugging Map and Set objects.
Debugging using VS Code RNT Hermes debugger prototype Debugging using Chrome Resolved
iOS_hermes_map_extension iOS_hermes_map Android resolved
  1. Sometimes the debugger cannot attach to an application correctly, which makes it impossible to set a breakpoint and view application logs in the debug console. An application could crash in case of incorrect attachment (js-debug refactoring).
Debugging using VS Code RNT Hermes debugger prototype Debugging using Chrome Resolved
image
  1. Hermes engine doesn't support Runtime.callFunctionOn method. See the issue Runtime.callFunctionOn returns an empty value on debugging.

  2. [Android]:Hermes app crash when a second debugger tries to connect ([Android]:Hermes app crash when a second debugger tries to connect facebook/hermes#792)

Metadata

Metadata

Assignees

Labels

hermesknown-issuesKnown issues for extension, most of them are external issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions