提交 1c45c4c3 编写于 作者: I isidor

fix jump to cursor

上级 334c61c4
......@@ -115,7 +115,7 @@ export function registerCommands(): void {
const resource = activeEditor.getModel().uri;
const source = stackFrame.thread.session.getSourceForUri(resource);
if (source) {
const response = await stackFrame.thread.session.gotoTargets(source, position.lineNumber, position.column);
const response = await stackFrame.thread.session.gotoTargets(source.raw, position.lineNumber, position.column);
const targets = response.body.targets;
if (targets.length) {
let id = targets[0].id;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册