Create KotlinStackFrame only for kotlin classes with inline functions

#KT-10092 Fixed
This commit is contained in:
Natalia Ukhorskaya
2015-11-19 13:54:32 +03:00
parent 35ccfef040
commit f872b378d0
@@ -80,7 +80,10 @@ public class KotlinPositionManager(private val myDebugProcess: DebugProcess) : M
}
override fun createStackFrame(frame: StackFrameProxyImpl, debugProcess: DebugProcessImpl, location: Location): XStackFrame? {
return KotlinStackFrame(frame)
if (location.declaringType().availableStrata().contains("Kotlin")) {
return KotlinStackFrame(frame)
}
return null
}
override fun getSourcePosition(location: Location?): SourcePosition? {