Az oldal korlátolt funkcionalitással fog rendelkezni, amíg elvégezzük a felhasználói élményt javító karbantartást. Ha egy leírás nem oldja meg a problémáját, és kérdést tenne fel, akkor a támogatási közösségünk a @FirefoxSupport Twitter oldalon tud segíteni, vagy az /r/firefox oldalon a Redditen.

Támogatás keresése

Kerülje el a támogatási csalásokat. Sosem kérjük arra, hogy hívjon fel egy telefonszámot vagy osszon meg személyes információkat. Jelentse a gyanús tevékenységeket a „Visszaélés bejelentése” lehetőséggel.

További tudnivalók

A témacsoportot lezárták és archiválták. Tegyen fel új kérdést, ha segítségre van szüksége.

How to debug webextension around native messaging on Linux

  • 2 válasz
  • 3 embernek van ilyen problémája
  • 7 megtekintés
  • Utolsó üzenet ettől: 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

Összes válasz (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" :(