Great content! I make a living answering student programmer questions. I wish I had a quarter for every time I have asked a student, "have you used the debugger" and received the response "we haven't been taught about that."
@seanallen4 жыл бұрын
Thanks Isaac!
@bdaralan4 жыл бұрын
Thank you, I learnt a few things. To delete all break points, drag away the project icon in the break-point tab. 😃
@ryankanno25623 жыл бұрын
Without a doubt debugging is the most important skill for any developer. Great video!
@iosedat4 жыл бұрын
Hi Sean, I am following you since few days and learning iOS Development. This video is worth of Gold for me. Thanks for sharing your experiences.
@seanallen4 жыл бұрын
Glad it was helpful, Sedat!
@sanjayarun49474 жыл бұрын
I always had trouble understanding the exception break point. You cleared it up for me. Thanks a lot sean..
@seanallen4 жыл бұрын
Happy to help!
@glennmiller3944 жыл бұрын
Good video, Sean. Debugging is the #1 skill software engineers need to develop to keep their sanity. The sound thingie? For long running programs. No more checking the display every three seconds.
@seanallen4 жыл бұрын
Glad you liked it Glenn, and that would be a good use of the sound.
@denisp.78504 жыл бұрын
Informative as usual 👍 A quick tip that i've been using a lot: using control+command for jumping to definition. Makes it so much faster to navigate through code.
@seanallen4 жыл бұрын
Thanks for sharing. That's a shortcut I always forget about.
@VeryBlueBot4 жыл бұрын
Oh man this is so clear and helpful. Basically everything I needed to know about break points in xcode in 20 minutes (10 actually, I watch in X2 :)) Most of my code milage is in JS so Im not using breaking points enough.. Thanks :)
@seanallen4 жыл бұрын
Glad it helped!
@ivanputeraa4 жыл бұрын
I usually use the breakpoint sound feature whenever I do debugging and left my laptop while running the code. I use Bluetooth headset btw, so whenever I hear the sound I’ve set before, it means that the code has triggered the breakpoint so I can go back to check my laptop. Maybe it looks kinda funny, but it’s really useful for me though 👍🏼
@PtolemysEye4 жыл бұрын
LITERALLY had that exact bug today lol. Super fun figuring it out without using breakpoints :D
@CredoAcademy4 жыл бұрын
What a great tutorial about Debugging and how to use breakpoints in Xcode. 👍Great job Sean!
@seanallen4 жыл бұрын
Thanks!
@SwiftlyShivali4 жыл бұрын
Awesome Video, Sean!
@seanallen4 жыл бұрын
Thanks! Glad you liked it 😀
@Didstoraro3 жыл бұрын
Thank you so much for this video, Sean. 🙂 It has helped me a lot, I'm learning iOS right now and I find myself often overwhelmed with so many new things. So... Thanks 👍
@seanallen3 жыл бұрын
Happy to help!
@TylerWasick4 жыл бұрын
Thanks Sean for another great video! How can I make suggestions on new videos? I am trying to learn more advanced cases of protocols and delegates.
@seanallen4 жыл бұрын
Glad you liked it. Feel free to suggest here, but I have a VERY long video idea list.
@bruhmoment37314 жыл бұрын
Wow. This video is packed with information. I feel like it raised my IQ by 20 points.
@usamashoukat82332 жыл бұрын
Bro Nice and Simple explanation 🔥
@seanallen2 жыл бұрын
Glad it was helpful!
@yosansu2 жыл бұрын
thanks for the video! loved the simple explanation style :)
@Some.real.human.4 жыл бұрын
CMD + A, Delete to delete all
@seanallen4 жыл бұрын
Thanks for sharing!
@Some.real.human.4 жыл бұрын
Sean Allen np Sean! Would love to see a more advanced video on breakpoints showing features like conditional breakpoints!
@ca79862 жыл бұрын
Amazing tutorial man! 🙏
@seanallen2 жыл бұрын
Glad you liked it!
@robinandthedog4 жыл бұрын
Note that po means evaluate expression, see : help po. The nice thing is you can change variables with it to run a different course in your program e.g.: po isMyAppCool = true
@seanallen4 жыл бұрын
Thanks for clearing that up, Robin!
@connorvantress80733 жыл бұрын
the code on his screen at 1:52 is the only thing that pops up on my screen when I try and de-bug. I cannot see my actual code or the green line that shows where it is at and running. How do I fix this?
@connorvantress80733 жыл бұрын
Fixed it by randomly messing with Xcode debugging settings...great :)
@gillesashley93142 жыл бұрын
Sean you leave a lot of spaces before assigning your values, won’t it affect performance. Sorry to ask but coming from a JavaScript background where we minify files to improve speed.
@Ivan_Maslov4 жыл бұрын
Hello! Could you make a video on View debugging? By the way, why did you write arg1? Is that a specific variable or you could write arg with any number, like arg0, for example? Thanks
@PatricioBenavente4 жыл бұрын
Didn’t know the click and drag to delete breackpoints. Nice tip For showing all your breackpoints you can use Command-8 You don’t hace to enter a function and add new breackpoints. Once your program is paused you can use the step-into button (with control-shift) in the debugger. Great work as usual Sean.
@seanallen4 жыл бұрын
Thanks for the tips!
@Taxexpert822 жыл бұрын
O.M.G I am trying to update my app in the apple developers, but I can't, any video you can recommend to me.
@donathmm38814 жыл бұрын
Learned something new! Thanks Sean
@seanallen4 жыл бұрын
Happy to help!
@chrispy104k4 жыл бұрын
Hey Sean, with regard to your query about the Console showing that annoying message: Snapshotting a view (0x7ff9aae0cad0, _UIReplicantView) that has not been rendered at least once requires afterScreenUpdates:YES. I discovered through looking through all the options to configure the textField in the file GFTextField that by adding the line: autocapitalizationType = .none in the configure() function the message stopped. I've no idea what is going on there but clearly that had something to do with it. I did the same for the searchController. ie, in configureSearchController() searchController.searchBar.autocapitalizationType = .none Problem solved.
@hermanvancauwelaert Жыл бұрын
thanks for the clear explanation
@seanallen Жыл бұрын
Glad it was helpful, Herman.
@AmitGupta-xc9gq3 жыл бұрын
Hiii Sean, I want the debug te code when app is killed state and notification tap
@luismosqueda72933 жыл бұрын
I got a thread 1: signal sigterm and I have no idea what that is or how to fix it to run the app
@andreagualandris24624 жыл бұрын
Thank you Sean, video so helpful!
@seanallen4 жыл бұрын
My pleasure!
@hareeshgangadhara4154 жыл бұрын
Sometimes breakpoints not working. What to do in that case
@antonignatenko77766 ай бұрын
weird one, why can't I use breakpoint when clicking on the line?
@tech_wizard93154 жыл бұрын
If I practice DSA with Swift for 3 months.... 6 hrs each day... M I ready to get job at Apple..? (I am a fresher)
@seanallen4 жыл бұрын
Tough for me to say as I don't do any hiring for Apple 😀
@dannylones21594 жыл бұрын
simple but not easy
@hardipgajera23164 жыл бұрын
This is very helpfull thanks man:)
@seanallen4 жыл бұрын
Glad it helped
@JonatanEdOrtiz3 жыл бұрын
Great tips!
@edwincreator28554 жыл бұрын
The indentation for = is killing me
@DimitrisTheo4 жыл бұрын
Should a beginner know these stuff? I only know what a breakpoint is and how to use it.
@seanallen4 жыл бұрын
I'd say you'd need to have a good idea of basic breakpoints and debugging before you get your first job. Knowing how to debug can save you tons of time when just learning as well.
@DimitrisTheo4 жыл бұрын
@@seanallen Alright thanks!
@govind202463 жыл бұрын
Really good 👍
@guruitcompany4 жыл бұрын
Thank you very much 😊
@seanallen4 жыл бұрын
Happy to help
@Fwipo4 жыл бұрын
Hold up wait why are your breakpoints red?
@seanallen4 жыл бұрын
It's your system accent color. You can set it in System Preferences > General
@aliquewilliams30804 жыл бұрын
Don't ever paginate using content size. It's a straight up anti-pattern.