I firstly used the pycharm 2017.1.2 and pytorch 0.1.11_5, then I ran the code in the computer with pycharm 2016.2.3 and pytorch 0.1.9.
The debug program could stop at the breakpoint when I ran code in  the latter machines in  which both software version are older. That confused me.