1
0
mirror of https://github.com/mnaberez/py65.git synced 2025-08-08 13:25:01 +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 number = None
try: try:
number = int(split[0]) 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) self._output("Invalid breakpoint number %d", number)
return return
except ValueError: except ValueError: