当前选择的Java调试器不支持“Kotlin Line Breakpoints”类型的断点
我有一个基于Java的项目。 我添加了我的第一个Kotlin类。 我把一个断点,并得到了下面的消息。
The currently selected Java debugger doesn't support breakpoints of type 'Kotlin Line Breakpoints'. As a result, these breakpoints will not be hit. The debugger selection can be modified in the run configuration dialog.
我该怎么办?
我刚刚发现,其实我有一个Kotlin代码,但没有写任何访问它。 我一直被警告信息误导,否则我可能会更快地发现问题。
所以这与Java debugger doesn't support breakpoints of type...
无关。 这只是无法访问的代码。
希望这有助于他人节省一些时间。