[xmlroff] Debugging xmlroff
Tony Graham
Tony.Graham at MenteithConsulting.com
Wed Mar 12 15:53:12 UTC 2008
On Sun, Feb 24 2008 21:09:01 +0000, Tony.Graham at menteithconsulting.com wrote:
> On Wed, Feb 20 2008 22:07:58 +0000, seefeld at sympatico.ca wrote:
...
>> Is there a way to turn those libfo-CRITICAL messages into actual
>> aborts so I can hook this into a debugger ?
>
> See http://library.gnome.org/devel/glib/stable/glib-running.html
>
> If you set G_DEBUG=fatal-critical, xmlroff should abort (though I've
> never tried it).
The correct incantation (for 'bash', at least) is:
declare -x G_DEBUG=fatal_criticals
You probably also need to have already run 'ulimit -c unlimited' before
you can get a core file.
Regards,
Tony.
More information about the xmlroff-list
mailing list