How to find the breakpoint numbers in pdb (ipdb)?

前端 未结 2 2322
借酒劲吻你
借酒劲吻你 2021-02-20 01:26

Trying to find how to execute ipdb (or pdb) commands such as disable.

Calling the h command on disable says

<
相关标签:
2条回答
  • 2021-02-20 02:14

    info breakpoints

    or just

    info b

    lists all breakpoints.

    0 讨论(0)
  • 2021-02-20 02:15

    Use the break command. Don't add any line numbers and it will list all instead of adding them.

    0 讨论(0)
提交回复
热议问题