aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qtcreatorcdbext
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2024-02-01 14:06:58 +0100
committerDavid Schulz <david.schulz@qt.io>2024-02-07 03:59:04 +0000
commitc28e37453ed527799d28922da911d875efb7e3fe (patch)
treec1a194787fa365919d017fa022394cbdcae8aaed /src/libs/qtcreatorcdbext
parentcf1e9db73b60a66ed04449c1695f744d3ec6f0b1 (diff)
Debugger: always try GetSymbolTypeId before iterating over modules
This seems to even out some of the huge lookup spikes here. Change-Id: I594c84dfd053be5626cd1f8c423ef00c7c77f37c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/libs/qtcreatorcdbext')
-rw-r--r--src/libs/qtcreatorcdbext/pytype.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libs/qtcreatorcdbext/pytype.cpp b/src/libs/qtcreatorcdbext/pytype.cpp
index a3c47aeba7..0621793b7e 100644
--- a/src/libs/qtcreatorcdbext/pytype.cpp
+++ b/src/libs/qtcreatorcdbext/pytype.cpp
@@ -479,8 +479,7 @@ bool PyType::resolve() const
result = symbols->GetTypeId(m_module, m_name.c_str(), &typeId);
if (FAILED(result) || result == S_FALSE) {
ULONG64 module;
- if (isIntegralType(m_name))
- result = symbols->GetSymbolTypeId(m_name.c_str(), &typeId, &module);
+ result = symbols->GetSymbolTypeId(m_name.c_str(), &typeId, &module);
if (FAILED(result) || result == S_FALSE) {
ULONG loaded = 0;
ULONG unloaded = 0;