Index: test/debugger/test-api.js |
diff --git a/test/debugger/test-api.js b/test/debugger/test-api.js |
index 069f81796d74e411a169b10ac60ebbed79471bac..cb9022b0c04c0dd48212e2302aaaa9b77d6305ff 100644 |
--- a/test/debugger/test-api.js |
+++ b/test/debugger/test-api.js |
@@ -639,8 +639,8 @@ class DebugWrapper { |
return scopes; |
}; |
- return { sourceColumn : () => loc.column, |
- sourceLine : () => loc.line + 1, |
+ return { sourceColumn : () => column, |
+ sourceLine : () => line + 1, |
sourceLineText : () => loc.sourceText, |
evaluate : (expr) => this.evaluateOnCallFrame(frame, expr), |
functionName : () => frame.functionName, |
@@ -693,7 +693,7 @@ class DebugWrapper { |
return { id : () => id, |
name : () => name, |
- source : () => this.eventDataScriptSource(id), |
+ source : () => this.eventDataScriptSource(params.scriptId), |
setSource : (src) => this.eventDataScriptSetSource(id, src) |
}; |
} |