在Eclipse中调试先前已调试过的行。

huangapple go评论74阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2020年8月26日 20:59:08
  • 转载请务必保留本文链接:https://go.coder-hub.com/63598229.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定