Skip to content

Debugging

RC1140 edited this page Jan 18, 2012 · 1 revision

Hi if you are feeling adventurous you can check if the extension is generating any errors internally.

  1. Open chrome://extensions
  2. You should see the following https://skitch.com/rc1140/g3agh/preferences-extensions (Your developer mode may or may not be checked)
  3. Click the Developer mode button the the upper right corner if its unchecked.
  4. Next expand the plugin by clicking the little arrow to the right of the icon.
  5. You should now see the link to the background.html page pictured (https://skitch.com/rc1140/g3a8t/preferences-extensions)
  6. If you now click the background.html link it will open a window which will show the html source of the page.
  7. If you click the button in the image (https://skitch.com/rc1140/gkek3/developer-tools-chrome-extension-icinfhcffoidgdcgndjmfafpjjdahmej-background.html) you will see the javascript console.
  8. You can now either move the window out of the way or alt tab it to the background and try to run a encrypt/decrypt/save.
  9. If the functions fails you will see any errors that could occur.

From the javascript console you can also run direct tests like below , paste each line then hit enter to execute the line:

plugin0().appPath = localStorage['gpgPath']
plugin0().tempPath = localStorage['tempPath']
plugin0().testOptions()

If it prints any output in the console you will know the plugin is working fine , if all you get back is a "" chances are there is something wrong with your config.

If this is a Linux install and nothing is shown chances are the plugin needs to be compiled personally for the user.

Clone this wiki locally