how to go into my code directly when debugging
It always goes into sys fucnction.how to avoid it. thanks
When you step into the Tetris() call, the next line of Python executed is in an enum constructor so Wing stops there. If you want to get beyond this call, use step out to step out of the constructor and go to the next line of Python code after it finishes
The enum constructor is called with the PyQt runtime converts a C++ enum value into a Python enum instance.
What you probably want to do in in this case is to set a breakpoint at your __init__ method and run to there.
To enter a block of code: