IntelliJ IDEA调试内部而不是跳过 [英] IntelliJ IDEA debug jumps inside instead of going over

查看:827
本文介绍了IntelliJ IDEA调试内部而不是跳过的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用最后稳定的SBT与Scala 2.10和最后一个Scala插件在IntelliJ IDEA 12.x.并有非常简单的测试Scala项目。

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.

我有 specs2 测试我想从哪里开始我的调试。有几个断点,我期望在线上(从一个断点到另一个 - 在我的测试和我的代码),而是:去除图书馆类的某个地方的debbuger,停在那里,向我显示一些奇怪的来源。

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.

这是可以重复的,我必须点击2,3,有时5次在下一个箭头按钮(在调试面板上)到达下一个断点(在测试或代码中)。

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).

我运行我的测试与SBT'测试编译'动作,像IntelliJ弹出建议。

I run my test with SBT 'test-compile' action, like IntelliJ pop-up suggests.

Aldo我发现这个调试Scala的设置(不要进入特定的Scala类)。但是我选中了这个复选框。

Aldo I found this debug settings for Scala ("Do not step into specific Scala classes"). But I have this check-box selected.

我发布了一个问题

推荐答案

IntelliJ 15现在支持在羔羊请参阅此博客文章有关详情。

IntelliJ 15 now has support for adding breakpoints inside lambdas. See this blog post for details.

这篇关于IntelliJ IDEA调试内部而不是跳过的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆