From 8963b00ed43ab31c52542accc626393edd965d66 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Tue, 20 Dec 2022 18:01:46 +0100 Subject: [PATCH] IDEA: fix build --- .../src/main/java/org/teavm/idea/debug/TeaVMStackFrame.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/idea/plugin/src/main/java/org/teavm/idea/debug/TeaVMStackFrame.java b/tools/idea/plugin/src/main/java/org/teavm/idea/debug/TeaVMStackFrame.java index 09becb44e..1d6ac3053 100644 --- a/tools/idea/plugin/src/main/java/org/teavm/idea/debug/TeaVMStackFrame.java +++ b/tools/idea/plugin/src/main/java/org/teavm/idea/debug/TeaVMStackFrame.java @@ -63,7 +63,7 @@ class TeaVMStackFrame extends XStackFrame { if (jsFrame != null) { JavaScriptLocation jsLocation = jsFrame.getLocation(); if (jsLocation != null) { - virtualFile = VirtualFileManager.getInstance().findFileByUrl(jsLocation.getScript()); + virtualFile = VirtualFileManager.getInstance().findFileByUrl(jsLocation.getScript().getUrl()); if (virtualFile != null) { line = jsLocation.getLine(); }