Combining Yury's and my debugging tools.
This commit is contained in:
parent
7859ef0f04
commit
9fe5eff905
9 changed files with 469 additions and 3 deletions
|
@ -265,7 +265,8 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||
},
|
||||
|
||||
executeIRQueue: function canvasGraphicsExecuteIRQueue(codeIR,
|
||||
executionStartIdx, continueCallback) {
|
||||
executionStartIdx, continueCallback,
|
||||
stepper) {
|
||||
var argsArray = codeIR.argsArray;
|
||||
var fnArray = codeIR.fnArray;
|
||||
var i = executionStartIdx || 0;
|
||||
|
@ -284,6 +285,11 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
|
|||
var slowCommands = this.slowCommands;
|
||||
|
||||
while (true) {
|
||||
if (stepper !== null && i === stepper.nextBreakPoint) {
|
||||
stepper.breakIt(i, continueCallback);
|
||||
return i;
|
||||
}
|
||||
|
||||
fnName = fnArray[i];
|
||||
|
||||
if (fnName !== 'dependency') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue