""" A web-based browser of your log files. Run by
- jitviewer.py <path to your log file> [port] [--
+ jitviewer.py <path to your log file> [port] [--]
-By default, this script will also start a lightweight PyQT/QWebKit based
+By default the script will run a web server, point your browser to
+If you pass --qt, this script will also start a lightweight PyQT/QWebKit based
browser pointing at the jitviewer. This assumes that CPython is installed in
/usr/bin/python, and that PyQT with WebKit support is installed.
-If you want to run only the server, you can pass the --server option. In this
-case, you can access the jitviewer by visiting http://localhost:5000 with your
Demo logfile available in this directory as 'log'.
To produce the logfile for your program, run:
print "Please run it using pypy-c"
- if '--server' in sys.argv:
if len(sys.argv) != 2 and len(sys.argv) != 3: