From 47415e50e17cdd5aac34b2c2f76b616b192aa043 Mon Sep 17 00:00:00 2001 From: Xabier Rodriguez Calvar Date: Wed, 14 Feb 2018 13:30:41 +0100 Subject: [PATCH] debug-viewer: Fixed C++ destructors detection https://bugzilla.gnome.org/show_bug.cgi?id=793447 --- debug-viewer/GstDebugViewer/Data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug-viewer/GstDebugViewer/Data.py b/debug-viewer/GstDebugViewer/Data.py index 752bcd6..a97cee3 100644 --- a/debug-viewer/GstDebugViewer/Data.py +++ b/debug-viewer/GstDebugViewer/Data.py @@ -155,7 +155,7 @@ def default_log_line_regex_(): PID = r"(\d+)\s*" FILENAME = r"([^:]*):" LINE = r"(\d+):" - FUNCTION = "([A-Za-z0-9_]*|operator\(\)):" + FUNCTION = "(~?[A-Za-z0-9_]*|operator\(\)):" # FIXME: When non-g(st)object stuff is logged with *_OBJECT (like # buffers!), the address is printed *without* <> brackets! OBJECT = "(?:<([^>]+)>)?" -- 2.7.4