Handle absent options of exception breaks.

This commit is contained in:
Dmitry Trofimov
2014-09-05 01:04:34 +02:00
parent cffddb8d7b
commit 3d6b55255b
+5 -1
View File
@@ -1038,7 +1038,11 @@ class PyDB:
pass
elif cmd_id == CMD_ADD_EXCEPTION_BREAK:
exception, notify_always, notify_on_terminate = text.split('\t', 2)
if text.find(' ')!= -1:
exception, notify_always, notify_on_terminate = text.split('\t', 2)
else:
exception, notify_always, notify_on_terminate = text, 0, 0
if exception.find('-') != -1:
type, exception = exception.split('-')
else: