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

Поділитися
Вставка
  • Опубліковано 2 сер 2024
  • 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

  • @mamthatalwar5964
    @mamthatalwar5964 2 роки тому +3

    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

  • @user-ec1dn3uz5k
    @user-ec1dn3uz5k 3 роки тому +4

    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  3 роки тому +1

      Thanks for your constant support Sami. This encouragement means a lot. 🙂

    • @DhavalHNena
      @DhavalHNena 2 роки тому

      very true statement, channel like this should get more attention and share.

  • @piyushsharma1638
    @piyushsharma1638 2 роки тому +2

    The information provided in your all videos really helps in clearing all of the doubts about any topic.

  • @polu9132
    @polu9132 2 роки тому +3

    Top class as always. Your channel is becoming a resource hub for mobile app devs. Thanks a lot Sir.

  • @DhavalHNena
    @DhavalHNena 2 роки тому

    Thanks a ton for showing p command in lldb, it helps a great deal in api debugging.

  • @philipplamenov8649
    @philipplamenov8649 2 роки тому +1

    Awesome tutorial. I was aware of some of these tips but some of them I learned now and I think they are really useful :)

  • @KonstantinLoginov-Norway
    @KonstantinLoginov-Norway 2 роки тому +2

    What a solid lecture! Keep up your great work! 👍

  • @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 роки тому +1

    Great work 👍🏼 very well explained 👏🏼

  • @saurabhsierra9195
    @saurabhsierra9195 3 роки тому +1

    Awesome...debugging is really necessary.

  • @ushasrimuddana1127
    @ushasrimuddana1127 2 роки тому

    Great tutorial!

  • @findMeOnYoutube350
    @findMeOnYoutube350 Рік тому

    Informative. Thanks

  • @taniajasam
    @taniajasam 3 роки тому

    Very informative 🙌🏻
    Please share more videos like this

  • @akashrastogi9430
    @akashrastogi9430 2 роки тому

    Clear and concise content 😀

  • @sureshmurugaiyan8366
    @sureshmurugaiyan8366 2 роки тому

    Very useful. Thanks

  • @pradeepkas10
    @pradeepkas10 3 роки тому +1

    Thank you, men !!!

  • @shubhamgupta8093
    @shubhamgupta8093 2 роки тому

    Very Informative... Very helpful.... Kudos!!! Thanks!!!

  • @DhruvilPatel
    @DhruvilPatel 3 роки тому

    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

  • @ashishtyagi191
    @ashishtyagi191 3 роки тому

    well explained 👏🏼

  • @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

  • @manishmahajan8968
    @manishmahajan8968 3 роки тому

    Explained well

  • @neeleshnagavamshi9353
    @neeleshnagavamshi9353 3 роки тому

    Thanks for the video bro

  • @ankitbhana9852
    @ankitbhana9852 3 роки тому

    Well explained

  • @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. 🙂

  • @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.

  • @bibinjaimon
    @bibinjaimon 6 місяців тому

    wow❤‍🔥

  • @fairchild9able
    @fairchild9able 2 роки тому

    Thanks for doing this. Do you have Darth Vader there with you?

  • @dattatraydeokar6110
    @dattatraydeokar6110 Рік тому

    where can I find SimSim app?

  • @vaibhavui
    @vaibhavui 3 роки тому +1

    21:25 Hi, What is shortcut for this snippets window?

  • @selva5932
    @selva5932 3 роки тому +1

    Bro need mvc vs mvvm, advantage, disadvantages and interview questions about this

    • @iCode_Happy_Coding
      @iCode_Happy_Coding  3 роки тому +1

      Hi Selva, I’ve been receiving comments about MVVM and I’ll try to cover it very soon. Thanks 🙂

  • @jsmnp07
    @jsmnp07 3 роки тому

    Which app you used to goto sandbox directory?

  • @diliptilonia
    @diliptilonia 3 роки тому +1

    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  3 роки тому +1

      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 роки тому +1

    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.