File 0004-Trace-lookup-of-namespaces-tables-objects.patch of Package wine
From 03f7f6b2d56e0771155ea673b90118a25d1b229a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
Date: Sun, 19 Jan 2025 07:30:29 +0100
Subject: [PATCH 4/7] Trace lookup of namespaces, tables, objects
---
dlls/wbemprox/builtin.c | 1 +
dlls/wbemprox/class.c | 2 +-
dlls/wbemprox/table.c | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c
index 2e3c3ce041e..39373bde443 100644
--- a/dlls/wbemprox/builtin.c
+++ b/dlls/wbemprox/builtin.c
@@ -4668,5 +4668,6 @@ enum wbm_namespace get_namespace_from_string( const WCHAR *namespace )
for (i = 0; i < WBEMPROX_NAMESPACE_LAST; ++i)
if (!wcsicmp( namespace, builtin_namespaces[i].name )) return i;
+ TRACE("unknown namespace: '%s'\n", debugstr_w(namespace));
return WBEMPROX_NAMESPACE_LAST;
}
diff --git a/dlls/wbemprox/class.c b/dlls/wbemprox/class.c
index 49e0201cc53..118b9003e3d 100644
--- a/dlls/wbemprox/class.c
+++ b/dlls/wbemprox/class.c
@@ -396,7 +396,7 @@ static HRESULT WINAPI class_object_Get(
struct class_object *co = impl_from_IWbemClassObject( iface );
struct enum_class_object *ec = impl_from_IEnumWbemClassObject( co->iter );
- TRACE( "%p, %s, %#lx, %p, %p, %p\n", iface, debugstr_w(wszName), lFlags, pVal, pType, plFlavor );
+ TRACE( "%p, %s, %s, %#lx, %p, %p, %p\n", iface, debugstr_w(co->name), debugstr_w(wszName), lFlags, pVal, pType, plFlavor );
if (co->record)
{
diff --git a/dlls/wbemprox/table.c b/dlls/wbemprox/table.c
index 53274eb1b90..f321dcb8e6a 100644
--- a/dlls/wbemprox/table.c
+++ b/dlls/wbemprox/table.c
@@ -423,6 +423,7 @@ struct table *create_table( enum wbm_namespace ns, const WCHAR *name )
}
}
}
+ TRACE("unknown table: '%s'\n", debugstr_w(name));
LeaveCriticalSection( &table_list_cs );
return NULL;
--
2.49.0