How to install breaking point

broken image
broken image
broken image

The debugger prompt appears before any code is executed you can run ( statement, globals = None, locals = None ) ¶Įxecute the statement (given as a string or a code object) under debuggerĬontrol. The module defines the following functions each enters the debugger in a test () Traceback (most recent call last):įile './mymodule.py', line 4, in test test2 ()įile './mymodule.py', line 3, in test2 print ( spam ) NameError: spam > pdb. import pdb > import mymodule > mymodule.