简体   繁体   English

插件可在Eclipse IDE中进行更好的调试

[英]Plugin for better debugging in Eclipse IDE

I am new to this project and it's code doesn't have any logger statement. 我是这个项目的新手,它的代码没有任何记录程序语句。 It is tedious and time consuming to follow any flow. 遵循任何流程既繁琐又耗时。
Because of the application's exception handling framework all the exception fall into a common exception block and it is pretty cumbersome to track back from there. 由于应用程序的异常处理框架,所有异常都属于一个通用异常块,因此从那里进行追溯非常麻烦。
Is there any Eclipse plugin which can help me to debug the issues? 是否有任何Eclipse插件可以帮助我调试问题? I am kind of looking for similar to XCode's debug feature where it stops the flow at the line which is causing exception. 我正在寻找与XCode的调试功能类似的功能,该功能可以在导致异常的行处停止流。 You can track back on that. 您可以对此进行追溯。
Updated my question. 更新了我的问题。

Note: I am using Eclipse Juno and in the middle of developing AspectJ logging utility to help me with debug statements. 注意:在开发AspectJ日志记录实用程序的过程中,我正在使用Eclipse Juno来帮助我进行调试语句。

Himanshu, Eclipse has a full-fledged debugger which has withstood the test of time. Himanshu,Eclipse具有成熟的调试器,可以经受住时间的考验。 You will need to give it a bit more time and explore it to realize it's full potential. 您将需要给它更多的时间并对其进行探索,以实现其全部潜力。

For instance, the feature that you miss from XCode has a counterpart in Eclipse in the form of Exception Breakpoints. 例如,您从XCode中错过的功能在Eclipse中具有对应的异常断点形式。

Setting them up (as Ajay George points out) is detailed in this question : Break when exception is thrown 在此问题中详细介绍了设置它们(如Ajay George所指出的): 抛出异常时中断

I am very interested in knowing the other things that you are looking for in the Eclipse Debugger. 我对了解您正在Eclipse Debugger中寻找的其他东西非常感兴趣。

Edit : The following might not be of great help to you if you already have experience with Eclipse but I shall leave them here for posterity : This is a comprehensive tutorial on debugging with Eclipse. 编辑 :如果您已经具有Eclipse的经验,那么以下内容可能对您没有很大帮助,但是我将在后人留给他们: 是有关使用Eclipse进行调试的综合教程。

Also, if you prefer watching and doing instead of reading then this is a good place to start ( OR directly checkout/download the videos from here ) 另外,如果您喜欢观看和做事而不是阅读,那么是一个不错的起点(或者直接从此处签出/下载视频)

Eclipse有一个内置的调试器来调试Java程序( http://www.ibm.com/developerworks/library/os-ecbug/ ),您是否还在寻找其他东西?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM