Skip to content

Commit 9e946c2

Browse files
author
Philip Guo
committed
removed frontend filtering
1 parent 54586a8 commit 9e946c2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎v3/js/pytutor.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ function ExecutionVisualizer(domRootID, dat, params) {
118118
// because each one contains IDENTICAL state information as the
119119
// 'step_line' entry immediately following it. this filtering allows the
120120
// visualization to not show as much redundancy.
121-
this.curTrace = this.curTrace.filter(function(e) {return e.event != 'call';});
121+
// (on second thought, don't filter, since explicitly stepping into
122+
// the function def line is clearer!)
123+
//this.curTrace = this.curTrace.filter(function(e) {return e.event != 'call';});
122124

123125
// if the final entry is raw_input or mouse_input, then trim it from the trace and
124126
// set a flag to prompt for user input when execution advances to the

0 commit comments

Comments
 (0)