Python 2.14 : Debugger
We are going to continue our coco with the function debugger to activate the mode debugging in front of click here you see that has this level there is a red point for me also click here therefore that it depends, the fact of putting several points like that means that we are going to be able to check the code to see at which level there are the errors therefore it is more when there are the errors and that we do not find ourselves, that we activate the debug mode to be able to detect at which level there is a problem on our code, well more precise I am going to launch my program, to start for some I am going to click here at this level our programs blocks because we must enter a name I am going to enter titi at this level another window opens to show us that we have entered the name Titi which is a character string and we are on this function if I continue my execution you will see that arrives here and that passes on the following page and to pass on the page of the salesman need this arrow and we here that age initialize to zero and to 0 if, I type on alive it enters in the loop to recover a value with the function input I go to click on Next and it asks me there I have already understood you next you notice that there is more writing simply because I have to enter an element element of recovery that it is necessary to enter that is why we were good the console page and to type the case of error anything I put between and if one passes on debugger one clicks here one sees that at this level the elements entered and a character string and one cannot convert on continues I continue that enters here that starts again because that was checked that returns here one sees that the entered string is not the correct element of the blow that returns to this condition, I'm going to hit you on next it enters it asks me for the element we have to go to the console to see, you see and I click here, it starts again in the function it asks how old are you? I put 23 I type that continues pâtissier debug and that arrives at this level I arrive at this level because the condition if was validated therefore if this had not been validated that should put the case of error and to start again to loop and after if one restarts on our console one will see that the program it is carried out normally. Well we say to ourselves to very soon for a new exercise.