How To Use a Debugger (In Depth Tutorial)

Опубликовано: 06 Сентябрь 2024
на канале: HenrikM Dev
109
4

Want some guidance to help you learn how to code?
📘Download my FREE 30 day coding challenge here:
https://henrikmdev.com/challenge

Need 1-on-1 coaching?
💻Click below to learn more about my mentoring program:
https://henrikmdev.com/coaching/

I remember when I was in university, my professor was teaching us how to use a debugger, and the debugger that he was showing us was GDB. GDB is a debugger that you can use with C. With this debugger, he was talking about breakpoints, pausing the program, and then continuing the program and looking at different values of your variables.

To me, it was just really confusing, and I didn’t really want to debug my code that way. I would rather just debug my code using print statements to see the values of variables as I’m running the program normally. I didn’t really see the value of using it, and I wasn’t really taught how to use it.

But then, when I went to my first job, we were coding in C++ with Visual Studio and Java with Eclipse. I didn’t have any experience in these programming languages at that time, but using the debugger really helped me as I was learning how to code in those languages and fixing bugs.

The codebases I was given were really complex, so it was hard to put print statements here and there to figure out how the program was working. My supervisor just told me to use the debuggers.

So, my supervisor sat next to me and spent some time showing me how to use the debugger with those IDEs. Once I learned how to use the debugger for those IDEs, I couldn’t go back, and that’s how I was able to make a lot of contributions to our product at that time.

Fast forward to my second job, they asked me to code in C#, and I had no experience coding in C#, but we were using Visual Studio. So I used the debugger in Visual Studio to familiarize myself with how C# works, and I was able to maintain our codebase with Visual Studio and the debugger.

Moving on to other projects, I continued to use different debuggers for different IDEs to continue learning and fixing our codebases.

=================================================
📚 Stay Tuned for More:
If you found this video helpful, make sure to like and subscribe to our channel for more programming tutorials and tips. We have a lot more exciting content in store for you, so stay tuned!
   / @henrikmdev  

👨‍💻 Have Questions?
If you have any questions or want to suggest topics for future videos, please leave a comment below. We love hearing from our viewers and are here to help!

🔔 Turn on Notifications:
Don't forget to ring the notification bell so you never miss an update from us. Stay ahead in your programming journey!

=================================================
💡 Coding Tutorials:
   • Coding tutorials  

💡 Git Tutorials:
   • Git tutorials  

💡 Dev Tool Tutorials:
   • Dev tools  

📁 Sample Code:
Find the sample code used in our tutorials on our GitHub page:
https://github.com/henrikmdev/

=================================================
📚 Books
C Programming Language: https://amzn.to/4etzNE5
Learning the bash Shell: https://amzn.to/483dvGN

⚙️ Gear
Webcam - Logitec Brio: https://amzn.to/3zUqfTG
Lighting - Ring Light Clip: https://amzn.to/3Y23yoj
Microphone - AKG Pro Audio P220: https://amzn.to/40hunIf
Audio Interface - Focusrite Scarlett 2i2: https://amzn.to/4gVTpSX

Thank you for watching, and happy coding! 💻🧡
-Henrik

Disclaimer: Some of these links are referral links. I may earn a commission if you use them, at no extra cost to you. You're not obligated to use these links, but it would be appreciated. Thanks!

#CodingTips #Debugger #VisualStudio #EclipseIDE #Programming #Debugging #SoftwareEngineering


Смотрите видео How To Use a Debugger (In Depth Tutorial) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь HenrikM Dev 06 Сентябрь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 10 раз и оно понравилось людям.