How to go into my code directly when debugging
Hi:
It always goes into sys fucnction.how to avoid it. thanks
Hi:
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:
Comments
Where is Wing stopping exactly? Wing does show the innermost stack frame where an exception occurs and you may need to go out to enclosing stack frames to find your code.
Hi: I uploaded three snapshots for my question,pls see it.
ok,thanks.