Top 5 Debugging tips for programmers

Поділитися
Вставка
  • Опубліковано 18 сер 2019
  • 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/hiteshdotcom
    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...
  • Наука та технологія

КОМЕНТАРІ • 91

  • @rgs586
    @rgs586 4 роки тому +22

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

  • @devk6810
    @devk6810 4 роки тому +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 8 місяців тому +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 4 роки тому +6

    2:29 to skip intro

  • @adityakumar-ty1bg
    @adityakumar-ty1bg 4 роки тому +6

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

  • @MuhundanS
    @MuhundanS 4 роки тому +2

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

  • @rollancegamer1078
    @rollancegamer1078 4 роки тому +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..

  • @TechBowl
    @TechBowl 4 роки тому

    Great! This video is very helpful 👍Thanks🙏

  • @harshbarnwal4149
    @harshbarnwal4149 4 роки тому +1

    As always awesome video ♥️

  • @RithikJha
    @RithikJha 4 роки тому +10

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

    • @HiteshChoudharydotcom
      @HiteshChoudharydotcom  4 роки тому +1

      thanks

    • @mr.fanstastic9010
      @mr.fanstastic9010 Рік тому

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

  • @nithsua
    @nithsua 4 роки тому +2

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

  • @kapilchoudhary196
    @kapilchoudhary196 4 роки тому +1

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

  • @deeraj3069
    @deeraj3069 4 роки тому +1

    Thanks for the video, sir...

  • @theentertainer8062
    @theentertainer8062 4 місяці тому

    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.

  • @likhonsarkar4743
    @likhonsarkar4743 4 роки тому

    Thank you sir for motivating and helping us

  • @drs10301
    @drs10301 4 роки тому

    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 4 роки тому

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

  • @RahulAhire
    @RahulAhire 4 роки тому +1

    What is kubernetes?

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

    Love this video.....💯♥️

  • @vishnuvardhanreddy8584
    @vishnuvardhanreddy8584 4 роки тому

    i love this video thanks hitesh

  • @yanshmoradiya
    @yanshmoradiya 6 місяців тому +1

    great work

  • @RandomGuy-hi2jm
    @RandomGuy-hi2jm 4 роки тому +3

    *with a great power comes with a great responsibility*

  • @aryanshmahato
    @aryanshmahato 4 роки тому +2

    Sir what about Linux Course??

  • @TechBoldy
    @TechBoldy 4 роки тому

    Wow! awesome video sir

  • @visheshgupta4990
    @visheshgupta4990 6 місяців тому

    Thanks for this useful video

  • @ankitshaw2011
    @ankitshaw2011 4 роки тому

    Sir could u give any idea about UNIT TESTING in programming

  • @mdshoaib8092
    @mdshoaib8092 4 роки тому +1

    Please make a video on ui/ux designing

  • @AdityaMandil
    @AdityaMandil 4 роки тому +1

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

  • @ahmadanis9930
    @ahmadanis9930 4 роки тому +2

    Hey. Sir i am good in maths and stats but i suck in machine learning as it comes to suggests new problem solving skills. What you suggest. Should i stick to it?

    • @ahmadanis9930
      @ahmadanis9930 4 роки тому

      I have been learning machine learning for 2 months

  • @pucbg2902
    @pucbg2902 4 роки тому

    testing flutter app in real android device will damage phone
    ?

  • @_sharmaji.dev_
    @_sharmaji.dev_ 4 роки тому +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

  • @vishvajeet7625
    @vishvajeet7625 4 роки тому +2

    One op debugging trick is....
    Console printing

  • @MdEmon-fi7xx
    @MdEmon-fi7xx 4 роки тому

    Love u Bro.

  • @vprsdn
    @vprsdn 4 роки тому

    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 4 роки тому +1

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

  • @patelkathan15
    @patelkathan15 4 роки тому

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

  • @Praxss
    @Praxss 4 роки тому +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...

  • @ashishtwr314
    @ashishtwr314 4 роки тому

    How about making a course on Debugging, Sir ?

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

  • @shortssquad1
    @shortssquad1 4 роки тому +2

    video starts from 2:50

  • @saikumargatla4706
    @saikumargatla4706 7 місяців тому

    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😊

  • @RitikKumar-qd9dy
    @RitikKumar-qd9dy 4 роки тому

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

  • @QamarKhan-wt2km
    @QamarKhan-wt2km 4 роки тому

    Good one

  • @pablo-im6mr
    @pablo-im6mr 9 місяців тому

    2:29 start

  • @vipulgautam8816
    @vipulgautam8816 4 роки тому

    please explain web server NGINX and APPACHE

  • @ismailshaik522
    @ismailshaik522 4 роки тому

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

  • @Sanjaykumar-qf4bl
    @Sanjaykumar-qf4bl 4 роки тому

    Just wow

  • @ayushmishra7214
    @ayushmishra7214 4 роки тому

    Nice video

  • @karthickrajalearn
    @karthickrajalearn 4 роки тому

    Do Interviews with framework developers

  • @rajchhatrala5988
    @rajchhatrala5988 4 роки тому +2

    When I see debugging in notification : 🤩

  • @chandravardhan3725
    @chandravardhan3725 4 роки тому

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

  • @ismailshaik522
    @ismailshaik522 4 роки тому +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

  • @kaushalkumartechie2856
    @kaushalkumartechie2856 4 роки тому

    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

  • @shoaibshaikh4011
    @shoaibshaikh4011 4 роки тому

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

    • @akashdhanwani6638
      @akashdhanwani6638 4 роки тому

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

  • @rituparnaw
    @rituparnaw 4 роки тому

    One of the firsts ! 😁

  • @mbsyaswanth3334
    @mbsyaswanth3334 4 роки тому

    Debugging for react-native ?

    • @flexairz
      @flexairz 4 роки тому

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

  • @rishabsharma142
    @rishabsharma142 4 роки тому

    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 4 роки тому +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.

  • @jayadevsahoo148
    @jayadevsahoo148 4 роки тому

    Wow

  • @yashjani99
    @yashjani99 4 роки тому

    Intro music name plz!😊

    • @9988khan
      @9988khan 4 роки тому

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

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

    pls make this video in hindi

  • @mahmudulislam8593
    @mahmudulislam8593 4 роки тому

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

  • @teamjoker8623
    @teamjoker8623 4 роки тому +2

    First 🤚🤚

  • @muthuvalli333
    @muthuvalli333 4 роки тому +1

    Why you look So tired ...Hitesh SIR

  • @adityakumar-ty1bg
    @adityakumar-ty1bg 4 роки тому

    3rd one to comment bro

  • @cyperdevelopment
    @cyperdevelopment 4 роки тому +1

    Includes paid promotion

  • @gajulasreekanth5766
    @gajulasreekanth5766 4 роки тому

    First one

  • @akshaymehta1050
    @akshaymehta1050 4 роки тому

    First

  • @PUSHPENDRASINGHDIGITAL
    @PUSHPENDRASINGHDIGITAL 4 роки тому +1

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

    • @HiteshChoudharydotcom
      @HiteshChoudharydotcom  4 роки тому +1

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

    • @PUSHPENDRASINGHDIGITAL
      @PUSHPENDRASINGHDIGITAL 4 роки тому

      @@HiteshChoudharydotcomyou should say this is sponsered video..

    • @HiteshChoudharydotcom
      @HiteshChoudharydotcom  4 роки тому +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 4 роки тому

      @@HiteshChoudharydotcom absolutely correct

    • @nikhilchaubey5889
      @nikhilchaubey5889 4 роки тому +1

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