Index: views/debug.py
===================================================================
--- views/debug.py	(revision 1556)
+++ views/debug.py	(working copy)
@@ -88,7 +88,7 @@
             'tb': tb,
             'filename': filename,
             'function': function,
-            'lineno': lineno,
+            'lineno': lineno+1,
             'vars': tb.tb_frame.f_locals.items(),
             'id': id(tb),
             'pre_context': pre_context,
