Top 5 Debugging tips for programmers

Поділитися
Вставка
  • Опубліковано 22 січ 2025

КОМЕНТАРІ • 89

  • @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

  • @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.

  • @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.

  • @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..

  • @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

  • @adityakumar-ty1bg
    @adityakumar-ty1bg 5 років тому +6

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

  • @abhiram6329
    @abhiram6329 5 років тому +6

    2:29 to skip intro

  • @nithsua
    @nithsua 5 років тому +2

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

  • @RandomGuy-hi2jm
    @RandomGuy-hi2jm 5 років тому +3

    *with a great power comes with a great responsibility*

  • @kapilchoudhary196
    @kapilchoudhary196 5 років тому +1

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

  • @theentertainer8062
    @theentertainer8062 11 місяців тому

    Hitesh, UA-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.

  • @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...

  • @MuhundanS
    @MuhundanS 5 років тому +2

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

  • @RahulAhire
    @RahulAhire 5 років тому +1

    What is kubernetes?

  • @AdityaMandil
    @AdityaMandil 5 років тому +1

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

  • @vishvajeet7625
    @vishvajeet7625 5 років тому +2

    One op debugging trick is....
    Console printing

  • @_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

  • @mdshoaib8092
    @mdshoaib8092 5 років тому +1

    Please make a video on ui/ux designing

  • @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

  • @harshbarnwal4149
    @harshbarnwal4149 5 років тому +1

    As always awesome video ♥️

  • @aryanshmahato
    @aryanshmahato 5 років тому +2

    Sir what about Linux Course??

  • @yanshmoradiya
    @yanshmoradiya Рік тому +1

    great work

  • @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.

  • @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

  • @TechBoldy
    @TechBoldy 5 років тому

    Wow! awesome video sir

  • @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😍.

  • @shortssquad1
    @shortssquad1 5 років тому +2

    video starts from 2:50

  • @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

  • @deeraj3069
    @deeraj3069 5 років тому +1

    Thanks for the video, sir...

  • @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

  • @pucbg2902
    @pucbg2902 5 років тому

    testing flutter app in real android device will damage phone
    ?

  • @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.!!

  • @ankushladani496
    @ankushladani496 2 роки тому

    Love this video.....💯♥️

  • @TechBowl
    @TechBowl 5 років тому

    Great! This video is very helpful 👍Thanks🙏

  • @ashishtwr314
    @ashishtwr314 5 років тому

    How about making a course on Debugging, 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😊

  • @vishnuvardhanreddy8584
    @vishnuvardhanreddy8584 5 років тому

    i love this video thanks hitesh

  • @rajchhatrala5988
    @rajchhatrala5988 5 років тому +2

    When I see debugging in notification : 🤩

  • @karthickrajalearn
    @karthickrajalearn 5 років тому

    Do Interviews with framework developers

  • @ShotByYaswanth
    @ShotByYaswanth 5 років тому

    Debugging for react-native ?

    • @flexairz
      @flexairz 5 років тому

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

  • @ankkol2011
    @ankkol2011 5 років тому

    Sir could u give any idea about UNIT TESTING in programming

  • @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.

  • @visheshgupta4990
    @visheshgupta4990 Рік тому

    Thanks for this useful video

  • @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

  • @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

  • @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.

  • @pablo-im6mr
    @pablo-im6mr Рік тому

    2:29 start

  • @vipulgautam8816
    @vipulgautam8816 5 років тому

    please explain web server NGINX and APPACHE

  • @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

  • @QamarKhan-wt2km
    @QamarKhan-wt2km 5 років тому

    Good one

  • @MdEmon-fi7xx
    @MdEmon-fi7xx 5 років тому

    Love u Bro.

  • @ayushmishra7214
    @ayushmishra7214 5 років тому

    Nice video

  • @mahmudulislam8593
    @mahmudulislam8593 5 років тому

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

  • @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

  • @rituparnaw
    @rituparnaw 5 років тому

    One of the firsts ! 😁

  • @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 UA-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.

  • @rajeshwarandroid
    @rajeshwarandroid Рік тому

    pls make this video in hindi

  • @cyperdevelopment
    @cyperdevelopment 5 років тому +1

    Includes paid promotion

  • @teamjoker8623
    @teamjoker8623 5 років тому +2

    First 🤚🤚

  • @j777-z3v
    @j777-z3v 5 років тому

    Wow

  • @adityakumar-ty1bg
    @adityakumar-ty1bg 5 років тому

    3rd one to comment bro

  • @gajulasreekanth5766
    @gajulasreekanth5766 5 років тому

    First one

  • @akshaymehta1050
    @akshaymehta1050 5 років тому

    First