diff --git a/python/helpers/pydev/pydevd.py b/python/helpers/pydev/pydevd.py index 2b9b4ee94a1c..de9231f2f293 100644 --- a/python/helpers/pydev/pydevd.py +++ b/python/helpers/pydev/pydevd.py @@ -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: