diff --git a/core/codeWriter.js b/core/codeWriter.js
index <HASH>..<HASH> 100644
--- a/core/codeWriter.js
+++ b/core/codeWriter.js
@@ -97,7 +97,8 @@
     if (APPLY_LINE_NUMBERS) {
       var l = code.split("\n");
       var i = 0;
-      while (l[i] && l[i].substr(0,8)=="Modules.") i++;
+      while (l[i] && (l[i].substr(0,8)=="Modules." ||
+                      l[i].substr(0,8)=="setTime(")) i++;
       lineNumberOffset = -i;
     }
add one more hack to work around debugging lines when modules and setTime are used