Apple Debugging L5 - Memory Graph

  Переглядів 13,405

AppleProgramming

AppleProgramming

4 роки тому

How to use the memory graph debugging tool in Xcode to catch retain cycles. For some reason Xcode 10.3 seems to yield indeterminate results if malloc stack logging is enabled. Maybe I'll redo this video when this seems reliable.
Twitter: / lucasderraugh
GitHub: github.com/lucasderraugh
Site: appleprog.com

КОМЕНТАРІ: 21
@prayash
@prayash 4 роки тому
This is incredibly useful. Thank you so much! All your lessons go into the perfect amount of depth.
@priceringo1756
@priceringo1756 4 роки тому
Thank you for this and your recent videos. I appreciate the depth of material, something beyond just an introduction.
@AppleProgramming
@AppleProgramming 4 роки тому
Price Ringo This series is intended to be a little advanced. I’m glad you’re finding the content useful.
@drkirwin
@drkirwin 4 роки тому
I had no idea Xcode had a thing like this. Thanks!
@rios6984
@rios6984 Рік тому
that moment with implicit self in closure is very insightful, thanks!
@AppleProgramming
@AppleProgramming Рік тому
Thanks! Glad it was valuable.
@w0mblemania
@w0mblemania 4 роки тому
This was very well explained. Thank you.
@luizhenriqueramos874
@luizhenriqueramos874 4 роки тому
Nice video by the way, thank you for helping us programming on a MAC.
@chaoukibencherif9307
@chaoukibencherif9307 4 роки тому
Thank you for this great video
@DigitalHole
@DigitalHole 3 роки тому
Well Explain!
@Andrei_Calazans
@Andrei_Calazans 4 роки тому
Thank you very much for this content. I am very impressed with the quality of your videos and how deep your knowledge is. May I ask how you make these videos? What is your approach to them? Do you write a script to follow or just do them from the top of your head? Cheers, and keep it up man!
@AppleProgramming
@AppleProgramming 4 роки тому
Andrei Calazans Definitely not just winging it 😅. I write all the code I expect to go through and test it out. I aim to make the code simple but still relatable to a real world example. Then I step through the points of progression and joy them down so I know the main things I want to talk about. I basically make an outline and just make sure I go in order for the topic. Everything I say is not written down though, for better or worse.
@asifnoor982
@asifnoor982 2 роки тому
@@AppleProgramming I learned so much from your videos and thanks @Andrei asking a very good question. I always wondered how you remember you so much when you explain the concept.
@luizhenriqueramos874
@luizhenriqueramos874 4 роки тому
Could you explain me how to clear the console on Xcode C programming? I'm using system ("clear") but I get "terminals database is inaccessible"
@ideluxer
@ideluxer 4 роки тому
can you add a video for iOS, I mean, the same close app to release memory without killing the debugger / memory graph
@tgsoon2002
@tgsoon2002 4 роки тому
Omg. This might be what I looking for. I have problem with memory leak/object is wong right now and it might save my ass.
@nemya24
@nemya24 3 роки тому
hi man nice tutorial i have some issue i have splash VC that still have ref to him from uiwindow but thr dinit function called and i realy dont now why its happens please help
@AppleProgramming
@AppleProgramming 3 роки тому
Splash screen view controllers aren't actually used, it's basically a snapshot of the storyboard and that is it. That's why you can't animate or put custom views in a splash screen. This is the likely reason that the view controller is never even used.
@vindajojo
@vindajojo 2 роки тому
What if this is an iOS App, I can't close the App without quitting it to view memory leak
@AppleProgramming
@AppleProgramming 2 роки тому
You don't need close the application. You can trigger the memory graph at any time while the app is running to grab the current memory graph representation.
@dannylones2159
@dannylones2159 4 роки тому
can i like this video twice ?
Apple Debugging L6 - Thread Sanitizer
12:02
AppleProgramming
Переглядів 4 тис.
How to spot and fix memory leak, retain cycle and erratic crashes
25:14
Godzilla Attacks Brawl Stars!!!
00:39
Brawl Stars
Переглядів 8 млн
Kitten has a slime in her diaper?! 🙀 #cat #kitten #cute
00:28
Apple Debugging L9 - Instruments Time Profiler
26:54
AppleProgramming
Переглядів 14 тис.
Memory Leaks in iOS: Find, Diagnose, & Fix (2022)
12:44
iOS Academy
Переглядів 44 тис.
Memory 2 - Finding and Fixing Memory Leaks (iOS, Xcode 9, Swift 4)
34:31
Mark Moeykens
Переглядів 49 тис.
Retain Cycles: How to Detect with Instruments Profiler!
13:55
Lets Build That App
Переглядів 47 тис.
Memory Leaks And How To Prevent Them | C Programming Tutorial
15:15
Portfolio Courses
Переглядів 7 тис.
Modern Python logging
21:32
mCoding
Переглядів 138 тис.
Weak and Unowned Self Closure Memory Leak Fixes
12:21
Lets Build That App
Переглядів 55 тис.
Here's the ULTIMATE tip to find memory leaks in Xcode!
5:41
Vincent Pradeilles
Переглядів 12 тис.
Xcode - Visual Debugger - A Tool For Debugging UI
6:36
Sean Allen
Переглядів 12 тис.