Top 5 Debugging tips for programmers

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ม.ค. 2025

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

  • @devk6810
    @devk6810 5 ปีที่แล้ว +13

    Don't just be junky funky
    Say it simply
    1. If you are JS developer
    Use typescript with liners (eslint & tslint)
    There are liners for other languages too
    2. Use tools similar to quokka js for inspecting variables in the IDE
    3. write unit test often
    4. Plan you code in a white board before writing into you IDE so to say make flowcharts as you used to do in old school computer exams
    5. Use frameworks and libraries instead writing all code yourself (but be careful while picking third party)
    6. Follow standard coding practises and use some kind of code formatter like Prettier
    7. Optional not required but try using two or more screens while coding its arguable but it works in my case
    8. Don't code solo, try coding with guy more senior than you
    9. Pick right tool that have great community and support not just random tool
    10. Use specific debuggers for eg if you are using redux use redux debugger if you are using react use react debugger instead console logging everywhere
    .... Any many more

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

      "Optional not required but try using two or more screens while coding its arguable but it works in my case" or use a window manager if you can't afford a second screen or have a big monitor.

  • @rajatguptaseth
    @rajatguptaseth 5 ปีที่แล้ว +22

    why don't you finish one series video? you always jump to other topics video instead of completing the previous series.

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

    The first few minutes really helped me not feel like I'm failing learning so far . I've figured out small errors I made on my own , thank you

  • @abhiram6329
    @abhiram6329 5 ปีที่แล้ว +6

    2:29 to skip intro

  • @RithikJha
    @RithikJha 5 ปีที่แล้ว +10

    Wao! Hitesh sir back again with exciting video 👍
    This video is really helpful for us(programmers)....

    • @HiteshCodeLab
      @HiteshCodeLab  5 ปีที่แล้ว +1

      thanks

    • @mr.fanstastic9010
      @mr.fanstastic9010 ปีที่แล้ว

      @@HiteshCodeLab i cant believe you spent 12 mins talking about debugging... instead of showing us what to do

  • @rollancegamer1078
    @rollancegamer1078 5 ปีที่แล้ว +7

    Thanks hitesh sir. for promoCode to extend 7day to 30days trial as free ...and I enjoy the video as well as your great explanation for debugging thank-you sir for an amazing video..

  • @adityakumar-ty1bg
    @adityakumar-ty1bg 5 ปีที่แล้ว +6

    love ur video,u been great mentor for the young programmers

  • @RandomGuy-hi2jm
    @RandomGuy-hi2jm 5 ปีที่แล้ว +3

    *with a great power comes with a great responsibility*

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

    great work

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

    I think you should do a video on describing the debugging tools

  • @Praxss
    @Praxss 5 ปีที่แล้ว +3

    Hitesh any idea about System 76....
    Start your service like that...it is very use full for students, who can't afford expensive prebuild laptops. Everyone can make there laptop with remain in budget....
    In India no-one is offering custom laptops...

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

      Maybe some startup will come soon

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

    love the way you explain the stuff. can you make a video series on embedded c programming .

  • @theentertainer8062
    @theentertainer8062 11 หลายเดือนก่อน

    Hitesh, TH-cam is full of videos about Regression Tesing, it would be very nice if you make one, because you are really good in explaining everything.

  • @AdityaMandil
    @AdityaMandil 5 ปีที่แล้ว +1

    Sir your video is great please make a video on BlockChain where we can learn it and the future scope !!

  • @kapilchoudhary196
    @kapilchoudhary196 5 ปีที่แล้ว +1

    After watching your videos... I am loving programming more...

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

    One op debugging trick is....
    Console printing

  • @mdshoaib8092
    @mdshoaib8092 5 ปีที่แล้ว +1

    Please make a video on ui/ux designing

  • @RahulAhire
    @RahulAhire 5 ปีที่แล้ว +1

    What is kubernetes?

  • @_sharmaji.dev_
    @_sharmaji.dev_ 5 ปีที่แล้ว +1

    SIr, please make one video on Google's Kick Start ongoing competition,
    the questions are on like competitive programming. Please make a video
    on solving them. Beginners like me are really getting confused after
    reading that problem. At least make a single video on any one problem
    (there are 7 or 8 in total) so that I can try for the upcoming ones

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

    Sir what about Linux Course??

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

    video starts from 2:50

  • @harshbarnwal4149
    @harshbarnwal4149 5 ปีที่แล้ว +1

    As always awesome video ♥️

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

    TIP 1. Accept that there is a problem
    TIP 2. Reproduce the issue
    TIP 3. Bug cloud
    TIP 4. Learn debuggers
    TIP 5. Static code Analysis

  • @RitikKumar-qd9dy
    @RitikKumar-qd9dy 5 ปีที่แล้ว

    I don't why but I'm love with debugging..i find it challenging and learn a lot of ins and outs of programming.

    • @HiteshCodeLab
      @HiteshCodeLab  5 ปีที่แล้ว +1

      Definitely we all learn more debugging

  • @TechBowl
    @TechBowl 5 ปีที่แล้ว

    Great! This video is very helpful 👍Thanks🙏

  • @TechBoldy
    @TechBoldy 5 ปีที่แล้ว

    Wow! awesome video sir

  • @asimshrestha1732
    @asimshrestha1732 5 ปีที่แล้ว

    Sir Google Code jam 2019. How to prepare and get to code jam?

  • @drs10301
    @drs10301 5 ปีที่แล้ว

    Hi sir
    When I am converting Date to integer or decimal using cast and convert, it's reflecting the date value less than its actual value.
    Please suggest.
    For example, for 1st Aug
    If Date value is 43678
    It's reflecting around 43675

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

    When I see debugging in notification : 🤩

  • @patelkathan15
    @patelkathan15 5 ปีที่แล้ว

    Hitesh sir whenever you upload a new video there's a big 😀 on my face and a thing in my head that i am going to learn something new😍.

  • @pablo-im6mr
    @pablo-im6mr ปีที่แล้ว

    2:29 start

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

    Love this video.....💯♥️

  • @vprsdn
    @vprsdn 5 ปีที่แล้ว

    I just spent nearly 2 hours going via the code trying to see where the calculation is going wrong only to realize that I missed a "break" statement in one of the switch cases. It's crazy at times!

    • @daple1997
      @daple1997 5 ปีที่แล้ว +1

      It that happen for one of my assignments. It seems so obvious once u solve it.

  • @kaushalkumartechie2856
    @kaushalkumartechie2856 5 ปีที่แล้ว

    Hitesh sir you are sooo inspiring for me .. M from guwahati Assam persuing cumputer science currently i m learning python ML libraries but sir m facing problems because of may be correct guidance so that i want to join ur classroom course as your lectures are very useful for me and i learnt lot from ur videos.. plsss help me sir to achieve my goal as m not from your location but i can join you in winter.. plss sir

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

    1.There might be some issues due to updation and versioning of yr language
    2.Try to reproduce the error, creating a small replica of it in development environment.
    3.Use chatgpt and stack overflow
    4.Stub some functions and comment some part and see from where the problem is ariving.
    Reply more to this comment, if you find any other trick to debug it will help others too😊

  • @deeraj3069
    @deeraj3069 5 ปีที่แล้ว +1

    Thanks for the video, sir...

  • @ismailshaik522
    @ismailshaik522 5 ปีที่แล้ว

    Sir,I'm doing Competitive java Challenges in your App...I Yesterday started. I don't need Solution,Ive executed them.But Bhai Unlock Alteast 2-3 questions perday..If I finished 1st question,Ive to be wait for the 2nd one For nxt day...This is the problem Ive faced in your App.....hope u have understand my question or problem!!!!...PlZ respond to my question.!!

  • @ankkol2011
    @ankkol2011 5 ปีที่แล้ว

    Sir could u give any idea about UNIT TESTING in programming

  • @ashishtwr314
    @ashishtwr314 5 ปีที่แล้ว

    How about making a course on Debugging, Sir ?

  • @pucbg2902
    @pucbg2902 5 ปีที่แล้ว

    testing flutter app in real android device will damage phone
    ?

  • @ismailshaik522
    @ismailshaik522 5 ปีที่แล้ว +1

    30 challenges 30 days..Too long, If your Realese Atleast 2 questions per day..V will be finishing that challenges in 15Days... Respond to this one Anna

  • @vishnuvardhanreddy8584
    @vishnuvardhanreddy8584 5 ปีที่แล้ว

    i love this video thanks hitesh

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

    Thanks for this useful video

  • @likhonsarkar4743
    @likhonsarkar4743 5 ปีที่แล้ว

    Thank you sir for motivating and helping us

  • @shoaibshaikh4011
    @shoaibshaikh4011 5 ปีที่แล้ว

    Hey any idea how a mechanical engineer can get a job in android development. I've made some apps.

    • @akashdhanwani6638
      @akashdhanwani6638 5 ปีที่แล้ว

      Just try in some startups, show casing your apps preferrably on playstore.

  • @karthickrajalearn
    @karthickrajalearn 5 ปีที่แล้ว

    Do Interviews with framework developers

  • @rishabsharma142
    @rishabsharma142 5 ปีที่แล้ว

    I can really feel the pain of getting the errors and can't able to find out where the things got wrong and how ....
    My code was working fine till yesterday but suddenly today all the things just screwed me up
    I am working with node js nd mongo db and my terminal is just saying
    Error: listen EADDRINUSE: address already in use :::8080
    at Server.setupListenHandle [as _listen2] (net.js:1279:14)
    at listenInCluster (net.js:1327:12)
    at Server.listen (net.js:1414:7)
    at Function.listen (/home/rishab/Desktop/nodeapi/node_modules/express/lib/application.js:618:24)
    at Object. (/home/rishab/Desktop/nodeapi/app.js:23:5)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
    Emitted 'error' event at:
    at emitErrorNT (net.js:1306:8)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
    [nodemon] app crashed - waiting for file changes before starting
    Even the debugger of vs code not working
    Happy coding Guys...!!!

    • @rajeshmanikandan420
      @rajeshmanikandan420 5 ปีที่แล้ว +1

      Rishab, 8080 port in your machine was used by some other service. Try changing your port to something else or Try to close the server/service which is using 8080 port.

  • @ShotByYaswanth
    @ShotByYaswanth 5 ปีที่แล้ว

    Debugging for react-native ?

    • @flexairz
      @flexairz 5 ปีที่แล้ว

      Debugging is basically the same for every language or framework...

  • @QamarKhan-wt2km
    @QamarKhan-wt2km 5 ปีที่แล้ว

    Good one

  • @yashjani99
    @yashjani99 5 ปีที่แล้ว

    Intro music name plz!😊

    • @9988khan
      @9988khan 5 ปีที่แล้ว

      Install shazam and when music starts tap on shazam app it will show the name of any music

  • @vipulgautam8816
    @vipulgautam8816 5 ปีที่แล้ว

    please explain web server NGINX and APPACHE

  • @chandravardhan3725
    @chandravardhan3725 5 ปีที่แล้ว

    love the video sir..
    by the way have you seen the silicon valley final season trailer....

    • @HiteshCodeLab
      @HiteshCodeLab  5 ปีที่แล้ว +1

      Didn't even watched a single episode

  • @mahmudulislam8593
    @mahmudulislam8593 5 ปีที่แล้ว

    Shorter videos will be appreciated and will get more views and likes.

  • @MdEmon-fi7xx
    @MdEmon-fi7xx 5 ปีที่แล้ว

    Love u Bro.

  • @ayushmishra7214
    @ayushmishra7214 5 ปีที่แล้ว

    Nice video

  • @muthuvalli333
    @muthuvalli333 5 ปีที่แล้ว +1

    Why you look So tired ...Hitesh SIR

    • @HiteshCodeLab
      @HiteshCodeLab  5 ปีที่แล้ว

      I am not buddy. thanks for asking. ♥️

  • @Sanjaykumar-qf4bl
    @Sanjaykumar-qf4bl 5 ปีที่แล้ว

    Just wow

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

    pls make this video in hindi

  • @PUSHPENDRASINGHDIGITAL
    @PUSHPENDRASINGHDIGITAL 5 ปีที่แล้ว +1

    This is promotional video please do honest review. Your personality not suite for such kind or promotion

    • @HiteshCodeLab
      @HiteshCodeLab  5 ปีที่แล้ว +1

      This is not a review. Sponsored means they helped us covering the cost of video and we openly mentioned it.

    • @PUSHPENDRASINGHDIGITAL
      @PUSHPENDRASINGHDIGITAL 5 ปีที่แล้ว

      @@HiteshCodeLabyou should say this is sponsered video..

    • @HiteshCodeLab
      @HiteshCodeLab  5 ปีที่แล้ว +3

      It's already mentioned according to TH-cam guidelines (in the start) and also clearly mentioned in the video also. I cannot scream sponsored video after every sentence.

    • @RithikJha
      @RithikJha 5 ปีที่แล้ว

      @@HiteshCodeLab absolutely correct

    • @nikhilchaubey5889
      @nikhilchaubey5889 5 ปีที่แล้ว +1

      @@PUSHPENDRASINGHDIGITAL you should see "includes paid promotion" at the beginning of the video.

  • @cyperdevelopment
    @cyperdevelopment 5 ปีที่แล้ว +1

    Includes paid promotion

  • @j777-z3v
    @j777-z3v 5 ปีที่แล้ว

    Wow

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

    First 🤚🤚

  • @rituparnaw
    @rituparnaw 5 ปีที่แล้ว

    One of the firsts ! 😁

  • @adityakumar-ty1bg
    @adityakumar-ty1bg 5 ปีที่แล้ว

    3rd one to comment bro

  • @gajulasreekanth5766
    @gajulasreekanth5766 5 ปีที่แล้ว

    First one

  • @akshaymehta1050
    @akshaymehta1050 5 ปีที่แล้ว

    First