Hello,
I am a member of the ABRT team. We have recently found an interesting page about
GNOME Shell debugging[1]. According to that page, it is possible to obtain a
stack trace of executed _javascript_ code in gdb. So we got an idea to include
the _javascript_ stack trace in Bugzilla bugs filed by ABRT. I tried to obtain
the _javascript_ stack trace by attaching gdb to a core dump file but it didn't
work because we can call a method only when gdb is connected to a process.
But we got another idea. Would it be possible to write the _javascript_ stack
trace to a file (or journald) in a well known path upon receiving a UNIX
signal? This already works for JVM, which creates the hs_err_pid.log file[2]
when a JVM process is to die and ABRT includes the hs err log file in Bugzilla
bugs.
Regards,
Jakub
1: https://wiki.gnome.org/Projects/GnomeShell/Debugging
2: http://www.oracle.com/technetwork/java/javase/felog-138657.html
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-shell-list