Issue in multi module Kotlin breakpoint - 'Breakpoint does not belong to any class' - 2018.1

Answered

I have a large-ish project mixing java and kotlin. One module (Module A) provides some kotlin and java classes and is a dependency of a second project (Module B). Both projects mix Java and Kotlin. The issue is that when I debug a Kotlin class I get 'Breakpoint does not belong to any class' on a breakpoint. This happens on every breakpoint inside any Kotlin class. I can correctly pause on Java classes and then step back out to the Kotlin code.

I mention the two modules because the refactoring out of some common code into Module A is what started this issue. I am still not sure what specific change caused it but I believe it to be related to the Module A as a library. I have used gradle and maven in testing and they show the same issue.

Any insight would be greatly appreciated.

 

*UPDATE* - I just loaded this project in 2017.3 and it seems to work correctly. So this maybe a 2018.1 specific issue.

0

Please sign in to leave a comment.