Fixed exception breakpoints.

This commit is contained in:
Dmitry Trofimov
2011-05-31 19:49:00 +04:00
parent 116053e552
commit bbd12e44c0
2 changed files with 9 additions and 6 deletions
+2 -2
View File
@@ -146,8 +146,8 @@ def restore_pm_excepthook():
def update_exception_hook(dbg):
if len(dbg.exception_set) >0:
set_pm_excepthook(tuple(dbg.exception_set))
if dbg.exception_set:
set_pm_excepthook(dict(dbg.exception_set))
else:
restore_pm_excepthook()
+7 -4
View File
@@ -775,10 +775,13 @@ class InternalGetCompletions(InternalThreadCommand):
try:
import console._completer
except:
path = os.environ['PYDEV_COMPLETER_PYTHONPATH']
sys.path.append(path)
remove_path = path
import console._completer
try:
path = os.environ['PYDEV_COMPLETER_PYTHONPATH']
sys.path.append(path)
remove_path = path
import console._completer
except :
traceback.print_exc()
try: