In this video we use Xamarin Profiler to find a memory lead in a Xamarin iOS application.
- [Narrator] We're going to find a leak in our iOS application,…and I'm going to make sure that the iOS project…is selected to run, and run it on our simulator.…Once we have it started on our simulator,…we want to start the profiler.…So I'll go to tools, examine profiler.…I want to take a snapshot every five seconds,…so I'm going to go to options, make sure enable automatic…snapshots is selected, and also make sure that…it says to take a snapshot every five seconds.…With that in place I'll go back to target,…and choose the allocations instrument and start running it.…
We're going to wait a couple seconds for the instrument…to start reading our iOS application,…and I'm going to go to the snapshots tab…and start going in and out of our leaky…view controller in our iOS app.…One thing to notice about our snapshots…is the memory allocations always seem to go up.…Let's see if we can't figure out why we keep…allocating objects and they never seem to go away.…So I'm going to start by looking at the allocations tab.…
- Working with tuples
- Using C# throw expressions
- Inspecting UI structures with Xamarin Inspector
- Identifying memory leaks in iOS and Android
- Recording and playing back tests with Test Record
- Using embedded assemblies in Android
Skill Level Intermediate
Learning Visual Studio Team Serviceswith Jose Miguel Rady Allende1h 17m Intermediate
1. C# 7 Language Improvements
Inspecting UI structures3m 34s
4. Test Recorder
5. Embedded Assemblies
Where to go from here1m 54s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.