This way you could see where the code is hanging, ...
# python
g
This way you could see where the code is hanging, which might give you some clues.