![]() ![]() If you click the button, you will see that after the line a = int(input("a: ")) the debugger goes into the file parse.py: Since the inline debugging is enabled, the values of the variables show in italic in the editor. If you use the stepping toolbar buttons, you'll move to the next line. So, you've clicked the button, and now see that the blue marker moves to the next line with the breakpoint. Note that you can do it in course of the debugger session! Let's step! The first lines show the address of the Solver object and the values of the variables a, b and c you've entered. This is the result of the so-called inline debugging. In the editor, you see the grey text next to the lines of code: On the stepping toolbar of the Debugger tab, click the button, to move to the next breakpoint. It means that the line with the breakpoint is not yet executed. ![]() Then the debugger suspends the program at the first breakpoint. The debugger starts, shows the Console tab of the Debug tool window, and lets you enter the desired values:īy the way, in the Debug Console, you can enter the Python commands: Let's choose one: click in the gutter, and then select the command Debug 'Solver' in the popup menu that opens: P圜harm allows starting the debugger session in several ways. OK now, as we've added breakpoints, everything is ready for debugging. Refer to the section Breakpoints for details. To place breakpoints, just click the gutter next to the line you want your application to suspend at: ![]() It means that execution will begin with it, let you enter the desired values of the variables a, b and c, and then enter the method demo. As you see, there is the main clause here. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |