Skip to content

What to do if asked for logs

Kepi edited this page May 19, 2020 · 2 revisions

What to do if asked for debug logs

If there is some problem using Eye Dropper and I'm not able to reproduce the problem quickly, you may help me to find the source of problem providing some debug logs and more information.

How to get logs?

Install development version of extension

  1. Download development version of extension from releases (one ending with _dev.zip).
  2. Go to chrome://extensions page
  3. Disable current production version of Eye Dropper
  4. In top right corner enable Developer mode (if already not enabled)
  5. Drag&Drop downloaded dev zip file to this extensions page

Get logs from background script

On chrome://extensions page, you can see block with Eye Dropper. At the end of the info text (under the ID: ....) there is Inspect views text and next to it some links. Click on background.html which will open web console for background service. If you can't see background.html right away, first click on x more... and then you will se list of scripts.

Web page pickup log

Just open web console on page where you want to pick the color:

  1. Right click on page and choose Inspect
  2. Click on Console tab
  3. Clear console tab (usually with Ctrl+L or maybe Command+L on macOS?)

Then use Pick color from webpage in Eye Dropper and do what you want to do.

Save the logs

When you are done, there should be plenty of lines I maybe can work with :) Just right click in console and choose Save as... and save to the file.

Most of the time, I need both background and web page pickup log.

Debug tab image

In some cases I might ask you to provide image from debug tab. Its new tab which is opened during web page pickup, you will recognize it by checker(ish) background.

When you are done with reproducing the web page pickup problem, simply go to this debug tab and simply right click to the red bordered image and choose save image as and upload it along with logs to bug report.