简体   繁体   English

在Eclipse中执行时间进行Java调试

[英]Java debugging with execution time in eclipse

I have a large Java project that I am trying to optimize. 我有一个正在尝试优化的大型Java项目。 I didn't write the code so I was using JDB and eclipse(remote debugging) to step through the code and understand it. 我没有编写代码,所以我使用JDB和eclipse(远程调试)来逐步理解代码。 I was wondering if there is a way to get the execution time as well when I step into/step over/step return in a method. 我想知道是否有一种方法可以在我进入/进入/返回方法时获得执行时间。 So that I can only focus on those methods that are taking a lot of time to execute. 因此,我只能专注于那些花费大量时间执行的方法。

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

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