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."
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.
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 :)
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.
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 👍🏼
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.
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 👍
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
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?
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
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.
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.
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.
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."
Thanks Isaac!
Without a doubt debugging is the most important skill for any developer. Great video!
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.
Glad it was helpful, Sedat!
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.
Glad you liked it Glenn, and that would be a good use of the sound.
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 :)
Glad it helped!
I always had trouble understanding the exception break point. You cleared it up for me. Thanks a lot sean..
Happy to help!
What a great tutorial about Debugging and how to use breakpoints in Xcode. 👍Great job Sean!
Thanks!
Awesome Video, Sean!
Thanks! Glad you liked it 😀
CMD + A, Delete to delete all
Thanks for sharing!
Sean Allen np Sean! Would love to see a more advanced video on breakpoints showing features like conditional breakpoints!
Bro Nice and Simple explanation 🔥
Glad it was helpful!
Thank you, I learnt a few things. To delete all break points, drag away the project icon in the break-point tab. 😃
thanks for the video! loved the simple explanation style :)
weird one, why can't I use breakpoint when clicking on the line?
Hiii Sean,
I want the debug te code when app is killed state and notification tap
Sometimes breakpoints not working. What to do in that case
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)
Tough for me to say as I don't do any hiring for Apple 😀
simple but not easy
The indentation for = is killing me
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.
Great tips!
This is very helpfull thanks man:)
Glad it helped
Hold up wait why are your breakpoints red?
It's your system accent color. You can set it in System Preferences > General
google, debug and google your debug
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 👍🏼
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.
Thanks for sharing. That's a shortcut I always forget about.
thanks for the clear explanation
Glad it was helpful, Herman.
Amazing tutorial man! 🙏
Glad you liked it!
LITERALLY had that exact bug today lol. Super fun figuring it out without using breakpoints :D
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.
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.
Glad you liked it. Feel free to suggest here, but I have a VERY long video idea list.
I got a thread 1: signal sigterm and I have no idea what that is or how to fix it to run the app
Don't ever paginate using content size. It's a straight up anti-pattern.
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 👍
Happy to help!
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
Thanks for clearing that up, Robin!
thank you
Really good 👍
13:23
Thank you very much 😊
Happy to help
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?
Fixed it by randomly messing with Xcode debugging settings...great :)
Learned something new! Thanks Sean
Happy to help!
Thank you Sean, video so helpful!
My pleasure!
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
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.
Wow. This video is packed with information. I feel like it raised my IQ by 20 points.
Amazing 🎉
Thanks 😄
Should a beginner know these stuff? I only know what a breakpoint is and how to use it.
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.
@@seanallen Alright thanks!
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.
Thanks for the tips!