Re: Debuggin by environment variable instead of compile time. Was: GIT version - no display of html messages

Peter Bloomfield <[email protected]>
Newsgroups gmane.comp.gnome.apps.balsa
Message-ID <[email protected]>
Hi Jack,

On 07/07/2018 01:31:37 PM Sat, Jack via balsa-list wrote:
> On 2018.07.07 10:59, Peter Bloomfield wrote:
>> Changing DEBUG_WEBKIT2 from FALSE to TRUE (libbalsa/html.c line 144) will enable some debugging output that might shed some light into what's going on.
> 
> It would be great if debugging like that were subject to some environment variable, and not just a compile-time variable.  Should I enter a wishlist bug?
> 
> Jack

Albrecht has been making that change in various places, using g_debug() instead of various printing calls. I've just done the same in the HTML code, so you can run Balsa with:

G_MESSAGES_DEBUG=html src/balsa

to turn on the debugging output--no editing or recompilation. We need to do that more completely--it's just a chore!

Peter

_______________________________________________
balsa-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/balsa-list
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQS030wPRfNNA5alz3MfX9S1uSp09QUCW0ELQgAKCRAfX9S1uSp0
9WcUAKCpzgAdUIOiyMH6t6fsbzwphHpdKACghlZPrl4Nt3bNnVSVF8PHFgWKRfU=
=yOxz
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.