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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintableJSON

      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
            Reporter:
            Unito Sync Bot
            Archiver:
            Marc Greenfield

              Created:
              Updated:
              Resolved:
              Archived: