aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-09-26 18:52:55 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-09-27 10:19:09 -0700
commitc2560b71f88d68ec6817f44729cd97517eda512d (patch)
tree3a17a0c2c21737d080caa1420b04fc5bb5350107
parentf6eb863d92b642e254dd86e63f8d6e8434f49276 (diff)
debugging stuff
-rwxr-xr-xemscripten.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/emscripten.py b/emscripten.py
index 1eb486ad..2d7b3daf 100755
--- a/emscripten.py
+++ b/emscripten.py
@@ -186,6 +186,7 @@ def emscript(infile, settings, outfile, libraries=[], compiler_engine=None,
if out and DEBUG: logging.debug(' loading pre from jcache')
if not out:
open(pre_file, 'w').write(pre_input)
+ #print >> sys.stderr, 'running', str([settings_file, pre_file, 'pre'] + libraries).replace("'/", "'") # see funcs
out = jsrun.run_js(compiler, compiler_engine, [settings_file, pre_file, 'pre'] + libraries, stdout=subprocess.PIPE, stderr=STDERR_FILE,
cwd=path_from_root('src'))
assert '//FORWARDED_DATA:' in out, 'Did not receive forwarded data in pre output - process failed?'
@@ -223,6 +224,7 @@ def emscript(infile, settings, outfile, libraries=[], compiler_engine=None,
funcs, chunk_size,
jcache.get_cachename('emscript_files') if jcache else None)
+ #sys.exit(1)
#chunks = [chunks[0]] # pick specific chunks for debugging/profiling
funcs = None