IntelliJ IDEA 调试跳进去而不是跳过 [英] IntelliJ IDEA debug jumps inside instead of going over
问题描述
我在 Scala 2.10 中使用了最后一个稳定的 SBT,在 IntelliJ IDEA 12.x 中使用了最后一个 Scala 插件.并且有非常简单的测试Scala项目.
我有 specs2 测试,我想从哪里开始我的调试.有几个断点,我期望越过几行(从一个断点到另一个断点 - 在我的测试和我的代码中),但是:调试器在库类中的某个地方停在那里,向我展示了一些奇怪的来源.
这一直是可重现的,我必须在下一个箭头按钮(在调试面板上)上单击 2、3、有时 5 次才能到达下一个断点(在测试中或在代码中).>
我使用 SBT 'test-compile' 操作运行我的测试,就像 IntelliJ 弹出窗口建议的那样.
Aldo 我发现 this Scala 的调试设置(不要进入特定的 Scala 类").但是我选中了这个复选框.
我在 IntelliJ IDEA 网站上发布了一个问题.
IntelliJ 15 现在支持在 lambda 中添加断点.请参阅这篇博文详情.
I use last stable SBT with Scala 2.10 and last Scala plugin in IntelliJ IDEA 12.x. And have very simple test Scala project.
I have specs2 test where I want to start my debug from. Having several breakpoints, I'm expecting going over lines, (from one break point to another - in my test and in My code), but instead: the debbuger going somewhere inside library classes, stops there, showing me some strange sources.
That's reproducible all the time, and I have to click 2, 3, sometimes 5 times on the next-arrow-button (on debug panel) to reach next break point (in the test or in the code).
I run my test with SBT 'test-compile' action, like IntelliJ pop-up suggests.
Aldo I found this debug settings for Scala ("Do not step into specific Scala classes"). But I have this check-box selected.
I've post an issue in IntelliJ IDEA site.
IntelliJ 15 now has support for adding breakpoints inside lambdas. See this blog post for details.
这篇关于IntelliJ IDEA 调试跳进去而不是跳过的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!