[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EWW debug facilities?
From: |
Lars Ingebrigtsen |
Subject: |
Re: EWW debug facilities? |
Date: |
Fri, 25 Dec 2015 17:42:07 +0100 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> How do you debug EWW, when it fails to do something?
I just use the normal Emacs debugging facilities (mainly edebug).
> Perhaps I'm missing something, but there doesn't seem to be any debug
> or log facilities in eww.el. When something goes wrong, it's useful
> to see a detailed log of the URLs EWW tried to fetch, including the
> results, and perhaps also the related logs from the url*.el APIs it
> invokes. That should allow finding the offending code, which can then
> be debugged by traditional means.
I have a feeling that you think eww is way more complicated than it is.
:-) eww fetches a single HTML page, renders it, and then fetches any
images the HTML may have included.
The HTML can be viewed with the `v' command, and the URL it fetched you
already know.
I haven't seen the need for logging anything.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no