Improve Debugging Skills | iOS | Swift/Obj C | Xcode

  Переглядів 16,500

iCode

iCode

День тому

Because we spend a lot of time in fixing bugs and improving the performance of the apps, it is very important to have good debugging skills.
In this video, I’ve summarised some of the debugging skills that I’ve learnt from my experience. These include Breakpoints, LLDB (po, p, v), Network Link Conditioner, Identifying tricky issues which do not occur on simulator/debug mode, View Hierarchy.
I’m sure that these 25 mins of this video will save many hours of yours.
Additional Tools for Xcode (Network Link Conditioner)
developer.apple.com/download/...
SimSim (for explore application folders)
github.com/dsmelov/simsim
Chapters 👇🏼
00:00 Start
01:42 Breakpoints
03:14 Swift Error Breakpoint
05:52 LLDB (po)
07:58 LLDB (p)
10:11 LLDB (v)
12:57 Network Link Conditioner
15:47 Looking into device's container
19:18 Debugging issue which do not occur on simulator, debug mode
23:31 Debugging View Hierarchy

КОМЕНТАРІ: 58
@user-ec1dn3uz5k
@user-ec1dn3uz5k 2 роки тому
Thanks bro. You're such an underrated youtube channel in the ios community. I always watch your videos anytime i see it. Good one as always!
@iCode_Happy_Coding
@iCode_Happy_Coding 2 роки тому
Thanks for your constant support Sami. This encouragement means a lot. 🙂
@DhavalHNena
@DhavalHNena Рік тому
very true statement, channel like this should get more attention and share.
@mamthatalwar5964
@mamthatalwar5964 2 роки тому
First of all when I look at his face i feel his face is filled with lot of confidence and clarity ......such such high quality content he has....very rich....thank u bhaya for ur videos....and please please continue to uplooad videos on swift iOS...do not stop..God bless u
@iCode_Happy_Coding
@iCode_Happy_Coding 2 роки тому
Thanks for the kind words Mamtha 🙂
@piyushsharma1638
@piyushsharma1638 2 роки тому
The information provided in your all videos really helps in clearing all of the doubts about any topic.
@iCode_Happy_Coding
@iCode_Happy_Coding 2 роки тому
Happy that you found them useful 🙂
@DhavalHNena
@DhavalHNena Рік тому
Thanks a ton for showing p command in lldb, it helps a great deal in api debugging.
@polu9132
@polu9132 2 роки тому
Top class as always. Your channel is becoming a resource hub for mobile app devs. Thanks a lot Sir.
@findMeOnYoutube350
@findMeOnYoutube350 9 місяців тому
Informative. Thanks
@philipplamenov8649
@philipplamenov8649 2 роки тому
Awesome tutorial. I was aware of some of these tips but some of them I learned now and I think they are really useful :)
@iCode_Happy_Coding
@iCode_Happy_Coding 2 роки тому
Glad that you found the video useful 🙂
@KonstantinLoginov-Norway
@KonstantinLoginov-Norway 2 роки тому
What a solid lecture! Keep up your great work! 👍
@iCode_Happy_Coding
@iCode_Happy_Coding 2 роки тому
Glad that you liked it 🙂
@kishorekumar7631
@kishorekumar7631 Рік тому
it was very crisp for ppl like me looking for a specific point and you are onSpot. Great work bro.👌
@Aditya-Pathak
@Aditya-Pathak 3 роки тому
Great work 👍🏼 very well explained 👏🏼
@iCode_Happy_Coding
@iCode_Happy_Coding 3 роки тому
Thanks Aditya, glad that you liked it 🙂
@ushasrimuddana1127
@ushasrimuddana1127 2 роки тому
Great tutorial!
@pradeepkas10
@pradeepkas10 2 роки тому
Thank you, men !!!
@shubhamgupta8093
@shubhamgupta8093 2 роки тому
Very Informative... Very helpful.... Kudos!!! Thanks!!!
@iCode_Happy_Coding
@iCode_Happy_Coding 2 роки тому
Thanks Shubham 🙂
@taniajasam
@taniajasam 3 роки тому
Very informative 🙌🏻 Please share more videos like this
@iCode_Happy_Coding
@iCode_Happy_Coding 3 роки тому
Thanks Tania, glad that you liked it. 🙂
@akashrastogi9430
@akashrastogi9430 2 роки тому
Clear and concise content 😀
@iCode_Happy_Coding
@iCode_Happy_Coding 2 роки тому
Thanks Akash 🙂
@sureshmurugaiyan8366
@sureshmurugaiyan8366 2 роки тому
Very useful. Thanks
@saurabhsierra9195
@saurabhsierra9195 3 роки тому
Awesome...debugging is really necessary.
@iCode_Happy_Coding
@iCode_Happy_Coding 3 роки тому
Thanks, glad that you liked it 🙂
@ashishtyagi191
@ashishtyagi191 3 роки тому
well explained 👏🏼
@iCode_Happy_Coding
@iCode_Happy_Coding 3 роки тому
Thanks Ashish, glad that you liked it 🙂
@neeleshnagavamshi9353
@neeleshnagavamshi9353 2 роки тому
Thanks for the video bro
@iCode_Happy_Coding
@iCode_Happy_Coding 2 роки тому
Thanks Neelesh, glad that you liked it 🙂
@manishmahajan8968
@manishmahajan8968 3 роки тому
Explained well
@iCode_Happy_Coding
@iCode_Happy_Coding 3 роки тому
Thanks Manish, glad that you liked it 🙂
@DhruvilPatel
@DhruvilPatel 2 роки тому
Great video, I have a small doubt like what's the difference between "e" & "p" I mean both of them are used to change the values at runtime
@dhav7634
@dhav7634 Рік тому
Great video. One question about the `NSLog`. I saw you created a log file but after that you were just printing out logs using NSLog statements. How to do these statements get redirected to the the log file? Thanks
@byaruhaf
@byaruhaf 3 роки тому
Awesome Explanation ⭐️⭐️⭐️⭐️⭐️⭐️
@byaruhaf
@byaruhaf 3 роки тому
what other cool Xcode snippets, do you have ?
@iCode_Happy_Coding
@iCode_Happy_Coding 3 роки тому
Thanks Franklin, glad that you liked it 🙂
@iCode_Happy_Coding
@iCode_Happy_Coding 3 роки тому
I’ve uploaded 6 videos as of now, and a new video comes every Sunday. Please have a look at the channel to view other videos.
@ankitbhana9852
@ankitbhana9852 3 роки тому
Well explained
@iCode_Happy_Coding
@iCode_Happy_Coding 3 роки тому
Thanks Ankit, glad that you liked it 🙂
@fairchild9able
@fairchild9able 2 роки тому
Thanks for doing this. Do you have Darth Vader there with you?
@seemantkushwah7564
@seemantkushwah7564 3 роки тому
best debug ever bro
@iCode_Happy_Coding
@iCode_Happy_Coding 3 роки тому
Thanks Seemant. Happy to see that you found the video useful. 🙂
@bibinjaimon
@bibinjaimon 4 місяці тому
wow❤‍🔥
@selva5932
@selva5932 3 роки тому
Bro need mvc vs mvvm, advantage, disadvantages and interview questions about this
@iCode_Happy_Coding
@iCode_Happy_Coding 3 роки тому
Hi Selva, I’ve been receiving comments about MVVM and I’ll try to cover it very soon. Thanks 🙂
@dattatraydeokar6110
@dattatraydeokar6110 Рік тому
where can I find SimSim app?
@jsmnp07
@jsmnp07 2 роки тому
Which app you used to goto sandbox directory?
@iCode_Happy_Coding
@iCode_Happy_Coding 2 роки тому
Sim Sim (link is in the description)
@vaibhavui
@vaibhavui 2 роки тому
21:25 Hi, What is shortcut for this snippets window?
@iCode_Happy_Coding
@iCode_Happy_Coding 2 роки тому
Cmd + Shift + L
@diliptilonia
@diliptilonia 2 роки тому
brother we don't need to download network link conditioner, because we already getting this feature in Xcode in itself, go to the simulator and devices you will see internet speed
@iCode_Happy_Coding
@iCode_Happy_Coding 2 роки тому
Yes, that we can be seen from Xcode, but I guess that we can't create custom profiles for changing the network conditions (which can be done from Network Link Conditioner). Thanks for sharing the info though 🙂
@pawanselokar2206
@pawanselokar2206 2 роки тому
Off the topic. I don’t know if any one noticed. Someone might be snoring at the background.
@iCode_Happy_Coding
@iCode_Happy_Coding 2 роки тому
Haha.. definitely not snoring, but yeah, there was some background noise and when I tried to remove it in editing, this is how it sounded 😅
@mso2000
@mso2000 Рік тому
Maybe you should focus on improving your testing/TDD skills and spend less time debugging the app.
Xcode Breakpoints - Basic Debugging | Swift
21:53
Sean Allen
Переглядів 34 тис.
Voloshyn - ЗУСИЛЛЯ (прем'єра треку 2024)
06:17
VOLOSHYN
Переглядів 899 тис.
Піхотинець - про рутину на фронті
00:46
Суспільне Новини
Переглядів 1,2 млн
Эффект Карбонаро и пончики
01:01
История одного вокалиста
Переглядів 8 млн
you need to stop using print debugging (do THIS instead)
7:07
Low Level Learning
Переглядів 392 тис.
OpenAI "SHOCKED" Everyone! Voice, Vision, & Free?!
8:58
Theoretically Media
Переглядів 7 тис.
Xcode Structured Logging
17:31
Stewart Lynch
Переглядів 4,4 тис.
Apple Debugging L9 - Instruments Time Profiler
26:54
AppleProgramming
Переглядів 14 тис.
24 Xcode Tips in 15 Minutes
15:30
Paul Hudson
Переглядів 72 тис.
GPT-4o - Full Breakdown + Bonus Details
18:43
AI Explained
Переглядів 39 тис.
INSANE OpenAI News: GPT-4o and your own AI partner
28:48
AI Search
Переглядів 23 тис.
Voloshyn - ЗУСИЛЛЯ (прем'єра треку 2024)
06:17
VOLOSHYN
Переглядів 899 тис.