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...
why don't you finish one series video? you always jump to other topics video instead of completing the previous series.
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
"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.
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
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..
Wao! Hitesh sir back again with exciting video 👍
This video is really helpful for us(programmers)....
thanks
@@HiteshCodeLab i cant believe you spent 12 mins talking about debugging... instead of showing us what to do
I think you should do a video on describing the debugging tools
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...
Maybe some startup will come soon
*with a great power comes with a great responsibility*
2:29 to skip intro
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.
Please make a video on ui/ux designing
After watching your videos... I am loving programming more...
Sir what about Linux Course??
What is kubernetes?
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
please reply sir!
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!
It that happen for one of my assignments. It seems so obvious once u solve it.
testing flutter app in real android device will damage phone
?
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😍.
thanks for the kind words
great work
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
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😊
When I see debugging in notification : 🤩
♥️
Thanks for the video, sir...
How about making a course on Debugging, Sir ?
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
Great! This video is very helpful 👍Thanks🙏
Thank you sir for motivating and helping us
Do Interviews with framework developers
Wow! awesome video sir
i love this video thanks hitesh
Hey any idea how a mechanical engineer can get a job in android development. I've made some apps.
Just try in some startups, show casing your apps preferrably on playstore.
love the video sir..
by the way have you seen the silicon valley final season trailer....
Didn't even watched a single episode
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...!!!
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.
Debugging for react-native ?
Debugging is basically the same for every language or framework...
Love u Bro.
Intro music name plz!😊
Install shazam and when music starts tap on shazam app it will show the name of any music
Good one
pls make this video in hindi
Just wow
This is promotional video please do honest review. Your personality not suite for such kind or promotion
This is not a review. Sponsored means they helped us covering the cost of video and we openly mentioned it.
@@HiteshCodeLabyou should say this is sponsered video..
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.
@@HiteshCodeLab absolutely correct
@@PUSHPENDRASINGHDIGITAL you should see "includes paid promotion" at the beginning of the video.
Why you look So tired ...Hitesh SIR
I am not buddy. thanks for asking. ♥️
Nice video
Wow
Shorter videos will be appreciated and will get more views and likes.
First 🤚🤚
Includes paid promotion
One of the firsts ! 😁
First one
love ur video,u been great mentor for the young programmers
love the way you explain the stuff. can you make a video series on embedded c programming .
One op debugging trick is....
Console printing
classic never goes away
video starts from 2:50
Sir your video is great please make a video on BlockChain where we can learn it and the future scope !!
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
As always awesome video ♥️
Thanks for this useful video
Love this video.....💯♥️
2:29 start
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.!!
please explain web server NGINX and APPACHE
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
Sir Google Code jam 2019. How to prepare and get to code jam?
Sir could u give any idea about UNIT TESTING in programming
3rd one to comment bro
First
I don't why but I'm love with debugging..i find it challenging and learn a lot of ins and outs of programming.
Definitely we all learn more debugging