Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-223

"TypeError: snapshot method was not called on a Realm object!" when running with RN debugger

      Goals

      Create a frozen result collection from a query result in react-native while debugging.

      Expected Results

      Expect this to work the same way it does when remote debugging is not running.

      Actual Results

      An exception is thrown: "TypeError: snapshot method was not called on a Realm object!"

      Note that this same query works well when the debugger isn't running.

      This is what the object looks like in the debugger.

      Steps to Reproduce

      Hope to be able to provide those soon.

      Code Sample

      Hope to be able to provide those soon.

      Version of Realm and Tooling

      • Realm JS SDK Version: 2.2.20, also 2.4.0.
      • Node or React Native: RN 0.55.3
      • Client OS & Version: macOS 10.13.4 (17E199), simulating iOS 11.3
      • Which debugger for React Native: regular builtin, using Chrome

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: