为 rhino 构建 java 脚本调试器

发布于 2024-08-09 17:48:43 字数 1539 浏览 10 评论 0原文

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

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

发布评论

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

评论(3

执手闯天涯 2024-08-16 17:48:43

检查这个线程

让Rhino调试器在servlet中工作它使用Rhino 调试器

请务必阅读整个线程

Rhino针对嵌入式引擎的调试器

上面线程中的一些人管理(基于我提供的第一个链接)到将调试器附加到嵌入式 rhino 实例

其他人甚至在 sourcefore 上做了一个小项目(没有测试它)

debug rhino 你只需要 debug 和 debug-rhino 文件夹,其余的是其他一些东西

Check this thread

Getting Rhino debugger working in servlets which uses Rhino debugger.

And be sure to read the whole thread

Rhino debugger against embedded engine

Some guy from the above thread managed (based on the first link I provided) to attach a debugger to a embedded rhino instance

Some other guy even made a little project on sourcefore (didn't test it)

debug rhino you only need the debug and the debug-rhino folders as the rest is some other stuff

兔小萌 2024-08-16 17:48:43

我建议利用作为 JSDT 的一部分提供的一个,我已经嵌入到 servlet 环境中,花了大约 1 天的时间才开始(研究如何使 rhino 服务器将源与 eclipse 工作区中的源相匹配,以便它们将正确调试)。
http://wiki.eclipse.org/JSDT/Debug/Rhino/Embedding_Rhino_Debugger

I recommend leveraging the one provided as part of JSDT, I've got embedded in a servlet environment and it took ~1 day to get going (working out how to make the rhino server match the source with the source in the eclipse workspace so they would debug properly).
http://wiki.eclipse.org/JSDT/Debug/Rhino/Embedding_Rhino_Debugger

稍尽春風 2024-08-16 17:48:43

我在 Apache CXF 中编写了代码,以编程方式启动 Rhino 调试器。您可能会发现它是一个有用的示例。

I wrote code in Apache CXF to launch the Rhino debugger programatically. You might find it a useful example.

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