在Java中单步执行GUI [英] Stepping through the GUI in Java

查看:97
本文介绍了在Java中单步执行GUI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发一个带有GUI的Java程序,我们正在寻找一个工具,向我们展示在点击GUI中的按钮时执行哪些代码部分。有什么建议 ?在此先感谢

We are working on a Java program with a GUI and we are looking for a tool that shows us which parts of code are executed as we click on the buttons in the GUI. Any suggestions ? Thanks in advance

推荐答案

使用调试模式的Eclipse可以做到这一点,你只需要在你的监听器中放置断点并点击按钮。

Eclipse with debug mode can do that, you just need to put break points in your listeners and click on the buttons.

开箱即用的eclipse ...简单的运行Debug就完成了。

It works out of the box with eclipse... a simple run Debug and it's done.

这篇关于在Java中单步执行GUI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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