Skip method check for non-relevant positions (KT-19403)

#KT-19403 Fixed
This commit is contained in:
Nikolay Krasko
2017-08-01 13:07:30 +03:00
parent 2ba89b9e68
commit 65ea9290ea
@@ -268,13 +268,13 @@ private fun DebugProcess.findTargetClasses(outerClass: ReferenceType, lineAt: In
continue
}
val method = location.method()
if (method == null || DebuggerUtils.isSynthetic(method) || method.isBridge) {
// skip synthetic methods
continue
}
if (lineAt == locationLine) {
val method = location.method()
if (method == null || DebuggerUtils.isSynthetic(method) || method.isBridge) {
// skip synthetic methods
continue
}
targetClasses += outerClass
break
}