简体   繁体   English

Eclipse断点

[英]Eclipse breakpoint

I have a java application, and to execute all the code to the first breakpoint takes about 2 hours. 我有一个Java应用程序,要执行所有代码到第一个断点大约需要2个小时。 Is there a way to restart from that point of breakpoints without waiting another two hours? 有没有一种方法可以从断点重新启动而无需等待另外两个小时?

by active breakpoints, your code runs slowly. 通过活动的断点,您的代码运行缓慢。 you should enable only this breakpoint or you can use a code like unit tests to run your codes part. 您应该仅启用此断点,或者可以使用单元测试之类的代码来运行代码部分。

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

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