在 palm pre 上调试网络应用程序?

发布于 2024-08-10 02:34:46 字数 118 浏览 1 评论 0原文

我有一个网络应用程序,可以在桌面浏览器上正常运行,但在掌上预浏览器上运行不佳(通过模拟器)。如何在palm预浏览器上调试应用程序?似乎没有任何错误控制台、dom 检查器等...我希望面向网络应用程序的手机能够提供此类工具。

I have a web app that works fine on desktop browsers, but struggles on the palm pre browser (via the emulator). How do I debug the app on the palm pre browser? There doesn't seem to be any error console, dom inspector, etc... I'd expect such tools from a web-app oriented phone.

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

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

发布评论

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

评论(1

逆光下的微笑 2024-08-17 02:34:46

webOS平台上的调试工具普遍还很差,这对于应用程序开发来说是这样的。

我认为网络浏览器没有任何调试器。你被 document.write 和相关问题困住了。

对于应用程序本身来说,它更好,但也好不了多少。有一个命令行调试器可用于设置断点和检查。还有一个基于 Safari 的检查器,可以用来检查 dom 等。并且有基本的信息/警告/错误调试到系统日志。但这些是针对使用 Mojo 框架的应用程序,而不是暴露于网页。

也就是说,该浏览器基于 Webkit,因此与 Safari 4 相当接近。Canvas 和高级 CSS 支持中缺少一些大小合适的块。浏览开发者论坛将有助于查看哪些 CSS 和 Canvas 功能缺失或损坏。

The debugging tools on the webOS platform are generally still poor, and thats speaking for the application development.

I dont think there is any debugger for the web browser. You're stuck with document.write and related.

And for applications themselves, its better, but not by much. There is a command line debugger that you can use to set break points and inspect. There is also an inspector based on Safari that you can use to inspect the dom and such. And there is basic info/warn/error debugging to syslog. But these are for applications using the Mojo framework, and not exposed to web pages.

That said, the browser is based on Webkit, so its fairly close to Safari 4. There are some good sized chunks missing in Canvas and advanced CSS support. Browsing the developer forums will help see what CSS and Canvas features are missing or broken.

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