Hi. In this video we'll learn how to work with Jupyter Lab debugger.
Let's go to our Jupyter Lab and let's open the notebook.
In the module five folder,
I'll explain to you what they did in the notebook in our next video into detail.
But for now, let's launch the debugger clicking on this icon.
Okay.
And we see now a new element in each of the cell. Uh,
this is the column with the line numbering.
I could hear a very simple function just for illustration.
Let's execute this and let's, uh,
put a break point in the cell in these two places here and
here. And now, when you execute the cell,
we see that execution has stopped on the break point.
What we can do now,
we can see all the variables and objects.
We see the listed breakpoints,
and also we see where we are in the code.
Now we can go step by step in the code execute line by line.
We can step inside the function,
but this will work only with the functions which you define in the notebook.
We can step out,
we can evaluate an expression, for example,
B shift, enter. We evaluate.
And here in the lock console we see this, uh, expression. We
can stop the code execution and we can continue until the end of
the cell.
We can do the same in the console.
I will just copy this code
and I will set the break point here and here.
And now when we execute the code inside the console,
we are able to use the debugger as well.
In our next video,
I will explain to you what I did in the notebook and we will get, uh,
a little bit, uh, introduction to classification.