How do I change a value while debugging python with pdb?

前端 未结 2 1009
别跟我提以往
别跟我提以往 2021-02-07 07:46

I want to run pdb, step through the code, and at some point change the value pointed at by some name. So I might want to change the value pointed at by the name \'stationLat\'

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-07 08:33

    This appears to be a bug in Python 2.6. You should be able to do this in Python 2.7.

提交回复
热议问题