[Bug 797283] gst: add some gdb python macros

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Oct 15 11:44:38 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=797283

Thibault Saunier <tsaunier at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #373925|none                        |reviewed
             status|                            |

--- Comment #2 from Thibault Saunier <tsaunier at gnome.org> ---
Review of attachment 373925:
 --> (https://bugzilla.gnome.org/review?bug=797283&attachment=373925)

Looks good overall but I could not get it working without hacks, also it would
be great to have it working in a `gst-build` uninstalled env (just need to
slitgly adapt PYTHONPATH there, I can do it).

::: gst/gst_gdb.py
@@ +5,3 @@
+try:
+    GLIB_FOUND = True
+    from gobject_gdb import g_type_to_name, g_type_name_from_instance

Here `gobject_gdb` is not in PYTHONPATH ever, any idea why?

@@ +7,3 @@
+    from gobject_gdb import g_type_to_name, g_type_name_from_instance
+
+except:

Be explicit about the catched exception type.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list