Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

How to debug webextension around native messaging on Linux

  • 2 个回答
  • 3 人有此问题
  • 7 次查看
  • 最后回复者为 Igor2604

more options

Browser  : FF Nightly ( 52.0) OS: Ubuntu 14.0 I have created a test webextension to use connectNative to launch a native app on linux. However the native application is not getting launched , it reads the json correct and the 'path' correctly because if I change either the .json name or the path of the native app to something invalid .. it complains about it with appropriate error. When I try to debug the extension and set a break point at port = browser.runtime.connectNative("myapp")  ; the Step-In does not step into this call , rather it does the step over . I get a port object but the application does not start and there is no error message. Would appreciate if some can give pointers on : 1. What could possible make the application not start ( .. i did chmod 777 to shell script which in turn will launch will launch the application a java program , as well as to the java program). 2.Why step in is not working for me ? 3.How can this be debugged. Thanks

Browser : FF Nightly ( 52.0) OS: Ubuntu 14.0 I have created a test webextension to use connectNative to launch a native app on linux. However the native application is not getting launched , it reads the json correct and the 'path' correctly because if I change either the .json name or the path of the native app to something invalid .. it complains about it with appropriate error. When I try to debug the extension and set a break point at port = browser.runtime.connectNative("myapp") ; the Step-In does not step into this call , rather it does the step over . I get a port object but the application does not start and there is no error message. Would appreciate if some can give pointers on : 1. What could possible make the application not start ( .. i did chmod 777 to shell script which in turn will launch will launch the application a java program , as well as to the java program). 2.Why step in is not working for me ? 3.How can this be debugged. Thanks

所有回复 (2)

more options

You may get more help at https://discourse.mozilla-community.org/c/add-ons

This forum link is at bottom of the addons.mozilla.org pages.

more options

James said

You may get more help at https://discourse.mozilla-community.org/c/add-ons This forum link is at bottom of the addons.mozilla.org pages.

That site is not allowing new topics .. failing with "Internal Server error 500" :(