File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -520,7 +520,8 @@ can be overridden by the local file.
520520 To remove all commands from a breakpoint, type ``commands `` and follow it
521521 immediately with ``end ``; that is, give no commands.
522522
523- With no *bpnumber * argument, ``commands `` refers to the last breakpoint set.
523+ With no *bpnumber * argument, ``commands `` refers to the most recently set
524+ breakpoint that still exists.
524525
525526 You can use breakpoint commands to start your program up again. Simply use
526527 the :pdbcmd: `continue ` command, or :pdbcmd: `step `,
Original file line number Diff line number Diff line change @@ -1321,7 +1321,7 @@ def do_commands(self, arg):
13211321 bnum = bp .number
13221322 break
13231323 else :
1324- self .error ('no breakpoints set ' )
1324+ self .error ('cannot set commands: no existing breakpoint ' )
13251325 return
13261326 else :
13271327 try :
You can’t perform that action at this time.
0 commit comments