1

I am trying to find the source code that causes some leaks reported in Instruments, but all I get is the Address. Is there a way to take this Address, or use some other feature in Instruments, to then locate where the offending object is located in the actual source code?

johnbakers
  • 24,158
  • 24
  • 130
  • 258
  • Are you also getting leaks reported, when you run Product => Analyze (from the Xcode menu)? – ott-- Sep 22 '11 at 20:33

1 Answers1

0

I believe this contains the answer to your question (although it's not a 'duplicate question').

Can I set a breakpoint on 'memory access' in GDB?

Community
  • 1
  • 1
Joe
  • 46,419
  • 33
  • 155
  • 245
  • Thanks but it is unclear to me how I would use rwatch in an Xcode breakpoint... Also is the hex memory address always going to be the same every time I run the app? – johnbakers Sep 22 '11 at 21:44
  • Sorry, I thought that you said that the memory address was the same each time. – Joe Sep 23 '11 at 06:12
  • Good luck sorting your problem! – Joe Apr 30 '12 at 06:13