5

I am trying to detect what's the object that casues a memory issue by using the instruments, however is seems that there is an issue in Xcode 9.3 with using the instruments as mentioned at: https://forums.developer.apple.com/thread/97592, also this one could be related:

Observing property crashes Instruments (Leaks profile) Xcode 9.3 (Swift 4.1)

So far, here is the allocations list:

enter image description here

As shown, the responsible caller for all records is "<Allocated Prior To Attach>"

And here is the call trees:

enter image description here

which seems to be an odd behavior for the first record (the issue).

My problem is:

if the instruments work as expected, I could directly figure it out by knowing what's the object that causes the issue (the object is not getting deallocated instead of <Allocated Prior To Attach>). At this point, is there any way to know what's the object that causes the issue?

A.Munzer
  • 1,890
  • 1
  • 16
  • 27
a.masri
  • 2,439
  • 1
  • 14
  • 32

1 Answers1

0

Turning off "Record reference counts" in "File">"Recording options" as a workaround.

Sir Codesalot
  • 7,045
  • 2
  • 50
  • 56