eclipse有一个调试器“进入选定的”提示方法进入的选项? [英] Does eclipse have a debugger "step into selected" option that prompts for the method to step into?

查看:157
本文介绍了eclipse有一个调试器“进入选定的”提示方法进入的选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在几个项目中使用了IntelliJ Idea,我非常喜欢调试器中的功能,我可以进入一行代码,但选择我真正想要进入的方法,而不是通过他们都直到我打了我想要的那个。



例如,调试器停在这一行:

  String restult = getMyResult(getParam(),buildSomething(),nextOption(x)); 

我想要点击ctrl + F5并列出一个列表弹出式窗口:




  • getMyresult()

  • getParam()

  • buildSomething()

  • nextOption()



我可以选择getMyResult,并跳过其他三个方法。 / p>

当我在eclipse中进行调试时,肯定会错过这个功能,有没有人知道是否有可比性?



我知道Eclipse中的Step Filtering选项,但这不是我想要的。

解决方案

你可以简单地放一个光标在你想要的方法,并按Ctrl-F5,所以不需要额外的选择。
或者您可以使用Ctrl + Alt-Clik使用鼠标做同样的事情。


I have used IntelliJ Idea on a few projects and I really like the feature it has in the debugger where I can step into a line of code, but choose which of the methods I REALLY want to step into, instead of going through them all until I hit the one I want.

For example, the debugger stops at this line:

String restult = getMyResult(getParam(), buildSomething(), nextOption(x));

I want to hit ctrl+F5 and have a list popup with:

  • getMyresult()
  • getParam()
  • buildSomething()
  • nextOption()

and I can select getMyResult and step into that method while skipping the other three.

It sure miss that feature when I am debugging in eclipse, does anyone know if there is something comparable?

I know about the Step Filtering options in Eclipse, but that is not quite what I want.

解决方案

You can simply put a cursor on method you want and hit Ctrl-F5, so no additional selection needed. Alternatively you can use Ctrl+Alt-Clik using mouse do do the same.

这篇关于eclipse有一个调试器“进入选定的”提示方法进入的选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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