Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

How to debug webextension around native messaging on Linux

  • 2 antwurd
  • 3 hawwe dit probleem
  • 7 werjeftes
  • Lêste antwurd fan 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

Alle antwurden (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" :(