Effective PyCharm Transcripts
Chapter: Debugging Python applications
Lecture: Debugging introduction
Login or
purchase this course
to watch this video and the rest of the course contents.
0:02
Welcome to the debugging chapter, something I really really like about PyCharm is its
0:08
visual debugging tools ability to hit a breakpoint,
0:12
quickly set a breakpoint, hit that breakpoint,
0:15
see all the values of the code variables,
0:19
not just in your watch window,
0:21
but actually injected into your editor as well.
0:24
See And that's really cool over laid mode and it makes it just so much easier
0:29
to see what's going on. You can step through your code,
0:32
you can step through libraries that are libraries you imported or installed through pip.
0:37
And I do believe that this type of debugging is one of the places the other
0:41
editor options badly fall down. People end up doing a lot of print statements or
0:46
they end up in some kind of command line debugger and you're typing through.
0:51
Okay, now show me the line you're on.
0:52
Now, Step into the next line,
0:54
you've got to keep typing and it's just so super inefficient compared to being able to
0:58
visually see the code with the values and the locations over laid on it.
1:03
So really excited to dive into these tools with you,
1:06
we're going to take an application that has a couple of bugs in it,
1:09
it's not entirely obvious why or what's going on.
1:12
We're going to explore it and solve those bugs or fix those bugs with the debugging tools in PyCharm.