-
Notifications
You must be signed in to change notification settings - Fork 9
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.
- Open chrome://extensions
- You should see the following https://skitch.com/rc1140/g3agh/preferences-extensions (Your developer mode may or may not be checked)
- Click the Developer mode button the the upper right corner if its unchecked.
- Next expand the plugin by clicking the little arrow to the right of the icon.
- You should now see the link to the background.html page pictured (https://skitch.com/rc1140/g3a8t/preferences-extensions)
- If you now click the background.html link it will open a window which will show the html source of the page.
- 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.
- 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.
- 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.