JS: fix that kotlin's breakpoints don't work with JavaScript debugger
#KT-12773 Fixed
This commit is contained in:
@@ -16,15 +16,15 @@
|
|||||||
|
|
||||||
package org.jetbrains.kotlin.idea.debugger;
|
package org.jetbrains.kotlin.idea.debugger;
|
||||||
|
|
||||||
import com.intellij.debugger.ui.breakpoints.JavaLineBreakpointType;
|
|
||||||
import com.intellij.xdebugger.breakpoints.XLineBreakpointType;
|
import com.intellij.xdebugger.breakpoints.XLineBreakpointType;
|
||||||
import com.jetbrains.javascript.debugger.JavaScriptDebugAware;
|
import com.jetbrains.javascript.debugger.JavaScriptDebugAware;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
|
import org.jetbrains.kotlin.idea.debugger.breakpoints.KotlinLineBreakpointType;
|
||||||
|
|
||||||
public class KotlinJavaScriptDebugAware extends JavaScriptDebugAware {
|
public class KotlinJavaScriptDebugAware extends JavaScriptDebugAware {
|
||||||
@Nullable
|
@Nullable
|
||||||
@Override
|
@Override
|
||||||
public Class<? extends XLineBreakpointType<?>> getBreakpointTypeClass() {
|
public Class<? extends XLineBreakpointType<?>> getBreakpointTypeClass() {
|
||||||
return JavaLineBreakpointType.class;
|
return KotlinLineBreakpointType.class;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user