pgbovine/OnlinePythonTutor — pull request #20 by bnmnetp (2013-01-24 23:22:45+00:00)
Title: Add ability to pose a question in the middle of a trace

Philip,

I've got my skulpt directive working to automatically add whats needed for a question to the trace. It even works on a line inside a loop!

Take a look at what I've done in pytutor.js and embedding-demo.*

The changes in pytutor.js should be completely innocuous unless the trace contains a question element.

Brad