# Write a call trace of the code generation phase into the C code
debug_trace_code_generation = 0
+
+# Do not replace exceptions with user-friendly error messages
+debug_no_exception_intercept = 0
import ExprNodes
import Naming
import Errors
+import DebugFlags
from StringEncoding import EncodedString
class BasicVisitor(object):
raise
except Exception, e:
import sys
+ if DebugFlags.debug_no_exception_intercept:
+ raise
trace = ['']
for parent, attribute, index in self.access_path:
node = getattr(parent, attribute)