英文:
Debugging previously debugged line in Eclipse
问题
在dotnet中,有一个选项可以将下一条语句设置为调试先前调试过的代码行,类似地,在eclipse中是否有任何选项,可以调试该语句,而无需再次运行整个应用程序。
英文:
In dotnet there is an option set next statement to debug previously debugged line, similarly is there any option in eclipse so that we can debug the statement instead of running the whole application again
答案1
得分: 1
在Eclipse的“Debug”视图中,有“Drop To Frame”上下文菜单项。它允许你从当前堆栈跟踪中重新启动方法调用,而不是方法内的单个语句。
当然,它不会撤消调用堆栈外部状态和那里的局部变量上的影响,但我想dotnet也无法做到这一点。
英文:
In Eclipse "Debug" view,, there is the "Drop To Frame" context menu entry. It lets you restart a method call from your current stack trace, not the individual statement inside a method.
Of course, it doesn't undo effects on state outside the call stack and the local variables there, but I guess dotnet can't do that as well.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论