1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-06-02 10:41:28 +00:00

Fix deleting a breakpoint

This commit is contained in:
Mike Naberezny 2014-12-13 20:06:34 -08:00
parent f5668891b8
commit 35307df2fc

View File

@ -782,7 +782,7 @@ class Monitor(cmd.Cmd):
number = None
try:
number = int(split[0])
if number < 0 or number > len(self._address_parser.breakpoints):
if number < 0 or number > len(self._breakpoints):
self._output("Invalid breakpoint number %d", number)
return
except ValueError: