How to Use a Debugger - Debugger Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ค. 2020
  • In this video I will be teaching you how to use a debugger. This debugger tutorial will show you how to debug, answer the question: what is debugging and show you how to use the vscode debugger. We will be debugging python code in VSCode but this tutorial will be teaching general debugging concepts that should apply to all debuggers.
    VSCode Download: code.visualstudio.com/download
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    🔊 Subscribe to my second channel for weekly podcasts! / @timeoutwithtim
    💰 Courses & Merch 💰
    💻 The Fundamentals of Programming w/ Python: tech-with-tim.teachable.com/p...
    👕 Merchandise: teespring.com/stores/tech-wit...
    🔗 Social Medias 🔗
    📸 Instagram: / tech_with_tim
    📱 Twitter: / techwithtimm
    ⭐ Discord: / discord
    📝 LinkedIn: / tim-ruscica-82631b179
    🌎 Website: techwithtim.net
    📂 GitHub: github.com/techwithtim
    🔊 Podcast: anchor.fm/tech-with-tim
    🎬 My TH-cam Gear 🎬
    🎥 Main Camera (EOS Canon 90D): amzn.to/3cY23y9
    🎥 Secondary Camera (Panasonic Lumix G7): amzn.to/3fl2iEV
    📹 Main Lens (EFS 24mm f/2.8): amzn.to/2Yuol5r
    🕹 Tripod: amzn.to/3hpSprv
    🎤 Main Microphone (Rode VideoMic Pro): amzn.to/3d0KKMG
    🎤 Secondary Microphone (Synco Wireless Lapel System): amzn.to/3e07Swl
    🎤 Third Microphone (Blue Yeti USB Mic): amzn.to/3hoD625
    ☀️ Lights: amzn.to/2ApeiXr
    ⌨ Keyboard (Daskeyboard 4Q): amzn.to/2YpN5vm
    🖱 Mouse (Steelseries Rival 300): amzn.to/3cVTqnD
    📸 Webcam (Logitech 1080p Pro): amzn.to/2B2IXcQ
    📢 Speaker (Beats Pill): amzn.to/2XYc5ef
    🎧 Headphones (Bose Quiet Comfort 35): amzn.to/2MWbl3e
    🌞 Lamp (BenQ E-reading Lamp): amzn.to/3e0UCr8
    🌞 Secondary Lamp (BenQ Screenbar Plus): amzn.to/30Dtafi
    💻 Main Monitor (LG 4K): amzn.to/37ybtiH
    💻 Secondary Monitor (Thinkvision 1080p): amzn.to/2AyHR8H
    🎤 XLR Microphone (Rode NT1): Not available
    🎙 Mic Boom Arm (Rode PSA 1): amzn.to/30EZw9m
    🎚 Audio Interface (Behringer 4 Channel): amzn.to/3fqm4z3
    💾 Recorder (Zoom H6): amzn.to/2UIihVJ
    ◾ 💸 Donations 💸 ◾
    💵 One-Time Donations: www.paypal.com/donate/?token=...
    💰 Patreon: / techwithtim
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    ⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡
    ⭐ Tags ⭐
    - Tech With Tim
    - Debugger Tutorial
    - How to use a debugger
    - What is debugging
    - Debugging
    - VSCode Debugger Tutorial
    - Debugging Tutorial
    ⭐ Hashtags ⭐
    #Debugging

ความคิดเห็น • 242

  • @TechWithTim
    @TechWithTim  4 ปีที่แล้ว +67

    What tutorials do you want to see next?!

  • @shambhaviaggarwal9977
    @shambhaviaggarwal9977 4 ปีที่แล้ว +41

    Sublime theme in vs code is really bothering me.

  • @Moonlight-jx2sj
    @Moonlight-jx2sj 3 ปีที่แล้ว +39

    I think you missed the main part: how to set up the .json file for debugger.

  • @KushKlara

    Im even more confused after watching this video. I guess this is not for beginners. Is there another video you have? My code just runs and ends after following your steps.

  • @ogg3k594
    @ogg3k594 3 ปีที่แล้ว

    Too code 🤬

  • @Raghav1205
    @Raghav1205 4 ปีที่แล้ว +69

    Hey Tim could you do some advanced data structures stuff like graphs and graph algorithms and how to implement them

  • @TheTyphoon365
    @TheTyphoon365 ปีที่แล้ว

    Too bad none of this works in VS code. I cant imagine how useful this would be if it were real. They even have a popular bash debugger but when I run it, nothing happens. Cant use any extensions actually. It's nothing more than the stuff of dreams.

  • @johndavies729
    @johndavies729 2 ปีที่แล้ว +5

    A moment of silence for those of us who already went through the fun tutorials but broke something and now we've ended up here

  • @dhidhi1000
    @dhidhi1000 2 ปีที่แล้ว

    You didn't explain how to debug with multiple files, which is like 99.9% of the cases

  • @ilayarajaramasamy1263

    Debugger is not showing for me

  • @dpskane
    @dpskane 3 ปีที่แล้ว +141

    there is one part about debugging that you left out, which is sometimes quite important:

  • @Lazerbeam50
    @Lazerbeam50 3 ปีที่แล้ว +38

    This is easily one of the most useful programming skills I've ever learned. Thank you so much for explaining everything so clearly!

  • @mandem5176

    I remember watching your coding tutorials and stream and here I am 4 years later, back for some nostalgia.

  • @dhruvgupta3177
    @dhruvgupta3177 4 ปีที่แล้ว +16

    right when i was getting stuck with a bunch of bugs...

  • @hanweiz84
    @hanweiz84 2 ปีที่แล้ว +1

    Thanks Tim. Felt like I somewhat "levelled up" after watching your debugger video. I have been printing debugging statements within my code the entire time!

  • @_sammy
    @_sammy 4 ปีที่แล้ว +13

    I know most people who will watch this video probably program in either Python or Java, but for any of my C and C++ programmers, I highly suggest learning how to use gdb. It runs in the command line so it’s really light weight. I’m sure there are tons of tutorials online. It’s really powerful and save you from tons of headaches, speaking from personal experience 😅

  • @databridgeconsultants9163
    @databridgeconsultants9163 4 ปีที่แล้ว +3

    Thanks Tim . Your Videos are Superb . Atleast you make videos which are directly implementable in real life projects . Great Job man .

  • @juliajulsen5623
    @juliajulsen5623 3 ปีที่แล้ว +1

    Thanks for the video! I also find myself using the debug console in VS Code often. Extremely useful tool

  • @narfee7529
    @narfee7529 4 ปีที่แล้ว +21

    I needed this! Thanks Tim 🙏

  • @Bennilenny
    @Bennilenny 3 ปีที่แล้ว

    I knew about debugging but NOT ABOUT THE STEP BUTTON !! thanks, Tim.