Thank you so much, you have explained it in a very simple way. I had checked many videos but they had made it very complex. Thank you once again
@willtollefson9 ай бұрын
You're welcome! Glad to hear this was helpful for you
@thomasszkoda9489 ай бұрын
Thanks for sharing your insight, Will! I am a beginner Java programmer and I honestly didn't know how to use the debugger, so I didn't touch it. But, after watching your video, I want to use it more often. Keep up the good work!
@willtollefson9 ай бұрын
Thanks for the feedback! I did the same thing when I was learning Java initially and am glad I decided to take the plunge on learning about debuggers :)
@DenaTollefson Жыл бұрын
Fantastic tutorial for how to use the IntelliJ Debugger, Will! You have awesome examples. I like how you show alternatives to the common use of tossing print statements around in code- this is a much better way of troubleshooting
@willtollefson Жыл бұрын
Thanks! Its always surprising to me that there isn't more focus in tutorials about code debugging tips
@raisgamesnz325Ай бұрын
This changed my life.
@malloryranae8069 Жыл бұрын
Great video, Will! Good tools like IntelliJ really help with the debugging process
@willtollefson Жыл бұрын
Agreed, tools like a good IDE can really make a difference!
@vd-ösnd4 ай бұрын
Thanks a lot ! The best simple explanation I found about how to start debugging in Java. Clear, concise, straight to the point!
@willtollefson4 ай бұрын
Glad to hear you liked it! Debuggers can be very useful for sure
@matthewlewington24706 ай бұрын
How have i been missing this for years of my life
@praffulshukla4576Ай бұрын
thanks will ,u r doing great
@francisguchie19732 ай бұрын
Wow this is detailed in a simplified way, and your speed is very very comfortable for me and very easy for a new bee to understand debugging
@willtollefson2 ай бұрын
Glad it was helpful!
@sashar56463 ай бұрын
Me at the start of this video: "Ah, how simple, I understand everything." After the 11th minute: "F-ck."
@willtollefson3 ай бұрын
Threading issues and deadlocks can be some really interesting bugs to solve, which is why those thread dumps can be really useful!
@rahul880909 ай бұрын
Nice tutorial brother i am from India
@willtollefson8 ай бұрын
Thanks - glad to hear you liked the tutorial!
@andresj.s.35687 ай бұрын
great video. was able to understand in minutes what i was struggeling to understand since months :D
@willtollefson7 ай бұрын
Awesome, glad to hear this was helpful!
@raisgamesnz325Ай бұрын
Really awesome! Thanks so much!
@willtollefsonАй бұрын
Happy to help!
@KianBrose6 ай бұрын
After years of using print statements, finally get to use the debugger
@willtollefson6 ай бұрын
Awesome!
@audiomac2 ай бұрын
Great into tutorial! However, I wish you went a little more into detail at the end. For instance, how do we find which threads the thread numbers are referring to? Also, how do we know which objects the threads are locked? You got answers like "0x2fc," but how do we find which variable that is referring to?
@willtollefson2 ай бұрын
Thanks for the question! The short answer is that the stack traces in the thread dump will usually tell you enough for a simpler example like this, but I do hear your point about more advanced debugging. In this particular example the trace tells you the line number its blocking on waiting for monitor entry and it tells which thread its waiting on. I've thought about making a video (or a series) on different debugging techniques with threading issues being a top contender. Is that something you'd like to see?
@audiomac2 ай бұрын
@@willtollefson Yes; I would love a series about that. I have been studying computer science for two years now, but my textbook and classes never talked about the debugger. It's actually really embarrassing that I know nothing really about it😂😂
@willtollefson2 ай бұрын
@audiomac sounds good - I totally get it and I've heard that from a lot of folks. It seems like teaching debugging isn't always a priority which is odd to me since that's a decent portion of what devs do in industry. I'll see about putting out some more debugging videos in the future. Thanks!
@seeyouagainv6 ай бұрын
Thanks a lot ❤ I used to rely on logging and print statement 😅
@willtollefson6 ай бұрын
Same here - print statements used to be my only debugging method initially
@KhinlinnHtet-k8f8 ай бұрын
Thank you so much
@vishaljain28697 ай бұрын
Tahnk you so much, Will! Great video
@willtollefson7 ай бұрын
You bet, glad you liked the video!
@GuruPrasadShukla8 ай бұрын
great video man highly appreciated great work thanks!
@willtollefson8 ай бұрын
You're welcome. Happy to hear that it helped!
@nikhilsinghal75423 ай бұрын
Thank you so much it helped a lot
@willtollefson3 ай бұрын
You're welcome!
@gandamraviteja70197 ай бұрын
Thank you so much Great video Good work brother
@bury290915 күн бұрын
thanks for your video :)
@willtollefson15 күн бұрын
My pleasure!
@AJCrescenzoАй бұрын
I need help, every breakpoint I set in the code doesnt have a check mark none of them work
@willtollefsonАй бұрын
It might be good to take out some of the complexity to verify your setup. Write a simple program and add breakpoints to make sure in the nominal case you can see them. Once you have that working, slowly go back to your problem at hand and confirm the setup is equivalent, you’re hitting the code you think you are, and the breakpoint is enabled and not conditional. Good luck!