当前选择的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...
无关。 这只是无法访问的代码。
希望这有助于他人节省一些时间。
- 转换字节码时出错 – DexException – Firebase身份验证
- Kotlin:如何在类中使用多个Generic?
- 将字节数组转换为Kotlin中的字符串
- Kotlin:如何使用扩展功能延迟运行一个函数
- 如何使用Android支持库权限委托?
- 在可能为空的接收器类型的数组列表中,只允许安全或非空的确定的呼叫
- 当我在java中使用DigestUtils.md5Hex时,得到了错误的结果
- 从Fragment调用Anko toast()方法会导致java.lang.NoSuchMethodError
- Haskell中的HasSupportFragmentInjector问题 – DispatchingAndroidInjector为null