在IntelliJ Idea中调试时避免使用Groovy / Grails内部 [英] Avoiding Groovy/Grails internals while debugging in IntelliJ Idea

查看:568
本文介绍了在IntelliJ Idea中调试时避免使用Groovy / Grails内部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用IntelliJ Idea 8.1.2进行Grails开发。 Groovy的动态性质让我很难调试我的代码:我继续在Groovy / Grails的内部结构,即CachedMethod,ExpandoMetaClass等。

I'm using IntelliJ Idea 8.1.2 for Grails development. The dynamic nature of Groovy is giving me a hard time debugging my code: I keep ending up in the internals of Groovy/Grails, i.e. CachedMethod, ExpandoMetaClass or the like.

例如,有没有办法告诉Idea调试器在调试时完全跳过Groovy / Grails内部,并且只在我自己的代码中执行步骤?我确实注意到在Debugger> Groovy中有一个名为不要进入特定Groovy类的配置选项,但到目前为止,我注意到没有什么区别。

Is there a way for example to tell the Idea debugger to completely skip the Groovy/Grails internals while debugging and only make steps in my own code? I did notice that there is a configuration option named "Do not step into specific Groovy classes" in Debugger > Groovy but so far I've noticed no difference.

如果不是你的解决方法是什么或者你如何处理这种情况?任何帮助将不胜感激。

If not, what is your workaround or how do you cope with the situation? Any help would be greatly appreciated.

推荐答案

File-> Settings-> Debugger-> Stepping

File->Settings->Debugger->Stepping

不要进入课堂...

这篇关于在IntelliJ Idea中调试时避免使用Groovy / Grails内部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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