在Eclipse IDE中的Debug上下文中编程 [英] Programming in Debug context in Eclipse IDE

查看:66
本文介绍了在Eclipse IDE中的Debug上下文中编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种编程(Java)的方法,我的意思是,当程序执行在Eclipse IDE中的某个调试点上等待时,可以在IDE中的任何位置编写一些代码,以评估当前调试上下文中的某些内容?

Is there a way to program (Java), I mean, write some piece of code anywhere in IDE, to evaluate something in the current debug context when the program execution is waiting on some debug point in an Eclipse IDE?

我需要的功能与 Google Chrome JavaScript

The feature I require is very much similar to what Google Chrome offers for a Javascript developer.

在下面的图像中 $(this).text()返回当前调试上下文中按钮的文本。

In below image $(this).text() returns the button's text in current debug context.

推荐答案

使用显示窗口。您可以在显示窗口中编写一段代码,并立即看到结果。

Use Display window. You can write piece of code in display window and see the result immidiately.

这篇关于在Eclipse IDE中的Debug上下文中编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆