Commit ee64cf50 authored by Mark Florisson's avatar Mark Florisson

Debugger: Fix little exception detection bug

parent a0dc7e64
...@@ -2195,7 +2195,7 @@ class PythonInfo(LanguageInfo): ...@@ -2195,7 +2195,7 @@ class PythonInfo(LanguageInfo):
inf_value = tstate['curexc_value'] inf_value = tstate['curexc_value']
if inf_type: if inf_type:
return 'An exception was raised: %s(%s)' % (inf_value,) return 'An exception was raised: %s' % (inf_value,)
except (ValueError, RuntimeError), e: except (ValueError, RuntimeError), e:
# Could not read the variable tstate or it's memory, it's ok # Could not read the variable tstate or it's memory, it's ok
pass pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment