了解如何转移框架(Eclipse 插件开发和调试 - 如何找出发生了什么?)

发布于 2024-10-30 06:09:10 字数 303 浏览 2 评论 0原文

我刚刚和一个非常!我的同事很沮丧,我正在寻求建议而不是他:-) 他正在维护一个复杂的 eclipse 插件(实际上是一个应用程序),并且他不知道当他单击列表时会发生什么。创建它的外部开发人员使用反射和侦听器,他很难/不可能找出单击链接时实际触发的内容。他开始重命名这些函数,以查看当他单击列表时是否会出现错误(由于反射而有效)。 在某些清单上他得到了它(这是正确的),在某些清单上他没有。 有什么东西可以帮助解决此类问题吗? 任何想法都会有帮助: 工具(UML?)、技巧,甚至当他有下一次机会与外部程序员交谈时他应该做什么。 看到他因此而长出白发,我感到很难过。

谢谢

I've just been talking to a very! frustrated co-worker of mine, I'm looking for advice instead of him :-)
He is maintaining a complex eclipse plugin (actually rather an application) and he has no clue what is going on when he e.g. clicks a list. The external developer who created it used reflections and listeners and it is kinda hard / impossible for him to find out what is actually triggered when he clicks a link. He started renaming the functions to see whether he gets an error when he clicks on the list (works thanks to reflection).
On some lists he gets it (which is correct), on some, he does not.
Is there something which would help getting these kind of problems solved?
Any ideas would help:
Tools (UML?), tricks, or even what he should be doing when he gets the next chance to speak to the external programmer.
Just makes me sad seeing him grow grey hair because of that.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

倾城月光淡如水﹏ 2024-11-06 06:09:10

我也有同样的问题。我使用了一个技巧,即直接从工作区启动 Eclipse 应用程序。然后我单击图形界面并查看日志文件。这确实是一场噩梦,也是对时间的极大浪费,但它完成了任务。

祝你好运,因为你需要几个月的时间才能理解这个程序内部发生的事情!

I had the same problem. I used a trick which was to launch and Eclipse application directly from the workspace. I then clicked on graphical interfaces and looked at the logfile. It was really a nightmare and an incredible waste of time but it did the job.

Good luck because you will need few months just to understand what is going on inside this program !!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文