Top 5 Debugging tips for programmers

Поделиться
HTML-код
  • Опубликовано: 28 сен 2024
  • Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.
    All the learning resources such as code files, documentations, articles and community discussions are available on our website:
    chaicode.com/
    You can find our discord link, github link etc on the above website.
    Twitter/X link: x.com/hiteshdo...
    Discord link: hitesh.ai/discord
    Learn React with 10 projects: • Let's learn react from...
    Learn Docker: • A practical guide on D...
    Learn Kubernetes: • Complete Kubernetes Co...
    How does a browser works: • How does a browser wor...
    How nodejs works: • How node JS works | En...
    Learn Redux-toolkit: • Learn Redux Toolkit in...
    Learn NextJS: • Nextjs Full stack course
    Learn Typescript: • Why to learn Typescript
    Learn Javascript: • Welcome to new JavaScr...
    Learn React Native: • React Native Mastery: ...
    Learn Zustand: • React state management...
    Learn Golang: • How to get started wit...

Комментарии • 89

  • @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 лет назад +12

    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 Год назад

      "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.

  • @rickymccrum8518
    @rickymccrum8518 11 месяцев назад +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

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

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

  • @RandomGuy-hi2jm
    @RandomGuy-hi2jm 5 лет назад +3

    *with a great power comes with a great responsibility*

  • @abhiram6329
    @abhiram6329 5 лет назад +6

    2:29 to skip intro

  • @theentertainer8062
    @theentertainer8062 7 месяцев назад

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

  • @mdshoaib8092
    @mdshoaib8092 5 лет назад +1

    Please make a video on ui/ux designing

  • @kapilchoudhary196
    @kapilchoudhary196 5 лет назад +1

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

  • @aryanshmahato
    @aryanshmahato 5 лет назад +2

    Sir what about Linux Course??

  • @RahulAhire
    @RahulAhire 5 лет назад +1

    What is kubernetes?

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

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

  • @pucbg2902
    @pucbg2902 5 лет назад

    testing flutter app in real android device will damage phone
    ?

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

  • @yanshmoradiya
    @yanshmoradiya 9 месяцев назад +1

    great work

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

  • @saikumargatla4706
    @saikumargatla4706 10 месяцев назад

    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😊

  • @rajchhatrala5988
    @rajchhatrala5988 5 лет назад +2

    When I see debugging in notification : 🤩

  • @deeraj3069
    @deeraj3069 5 лет назад +1

    Thanks for the video, sir...

  • @ashishtwr314
    @ashishtwr314 5 лет назад

    How about making a course on Debugging, Sir ?

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

  • @TechBowl
    @TechBowl 5 лет назад

    Great! This video is very helpful 👍Thanks🙏

  • @likhonsarkar4743
    @likhonsarkar4743 5 лет назад

    Thank you sir for motivating and helping us

  • @karthickrajalearn
    @karthickrajalearn 5 лет назад

    Do Interviews with framework developers

  • @TechBoldy
    @TechBoldy 5 лет назад

    Wow! awesome video sir

  • @vishnuvardhanreddy8584
    @vishnuvardhanreddy8584 5 лет назад

    i love this video thanks hitesh

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

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

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

  • @mbsyaswanth3334
    @mbsyaswanth3334 5 лет назад

    Debugging for react-native ?

    • @flexairz
      @flexairz 5 лет назад

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

  • @MdEmon-fi7xx
    @MdEmon-fi7xx 5 лет назад

    Love u Bro.

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

  • @rajeshwarandroid
    @rajeshwarandroid Год назад

    pls make this video in hindi

  • @Sanjaykumar-qf4bl
    @Sanjaykumar-qf4bl 5 лет назад

    Just wow

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

  • @muthuvalli333
    @muthuvalli333 5 лет назад +1

    Why you look So tired ...Hitesh SIR

    • @HiteshCodeLab
      @HiteshCodeLab  5 лет назад

      I am not buddy. thanks for asking. ♥️

  • @ayushmishra7214
    @ayushmishra7214 5 лет назад

    Nice video

  • @jayadevsahoo148
    @jayadevsahoo148 5 лет назад

    Wow

  • @mahmudulislam8593
    @mahmudulislam8593 5 лет назад

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

  • @teamjoker8623
    @teamjoker8623 5 лет назад +2

    First 🤚🤚

  • @cyperdevelopment
    @cyperdevelopment 5 лет назад +1

    Includes paid promotion

  • @rituparnaw
    @rituparnaw 5 лет назад

    One of the firsts ! 😁

  • @gajulasreekanth5766
    @gajulasreekanth5766 5 лет назад

    First one

  • @adityakumar-ty1bg
    @adityakumar-ty1bg 5 лет назад +6

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

  • @MuhundanS
    @MuhundanS 5 лет назад +2

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

  • @vishvajeet7625
    @vishvajeet7625 5 лет назад +2

    One op debugging trick is....
    Console printing

  • @shortssquad1
    @shortssquad1 5 лет назад +2

    video starts from 2:50

  • @AdityaMandil
    @AdityaMandil 5 лет назад +1

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

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

  • @harshbarnwal4149
    @harshbarnwal4149 5 лет назад +1

    As always awesome video ♥️

  • @visheshgupta4990
    @visheshgupta4990 8 месяцев назад

    Thanks for this useful video

  • @ankushladani496
    @ankushladani496 Год назад

    Love this video.....💯♥️

  • @pablo-im6mr
    @pablo-im6mr 11 месяцев назад

    2:29 start

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

  • @vipulgautam8816
    @vipulgautam8816 5 лет назад

    please explain web server NGINX and APPACHE

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

  • @asimshrestha1732
    @asimshrestha1732 5 лет назад

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

  • @ankitshaw2011
    @ankitshaw2011 5 лет назад

    Sir could u give any idea about UNIT TESTING in programming

  • @adityakumar-ty1bg
    @adityakumar-ty1bg 5 лет назад

    3rd one to comment bro

  • @akshaymehta1050
    @akshaymehta1050 5 лет назад

    First

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