summaryrefslogtreecommitdiff
path: root/src/VBox/HostServices/DragAndDrop
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2022-12-06 09:18:24 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2022-12-06 09:18:24 +0000
commit24f50d6284536d1015f6ae1449348051297f263b (patch)
tree9f097c9a447f36e6014802513b1b704f542b4b24 /src/VBox/HostServices/DragAndDrop
parent78e6615bc65a4f12d29f41cb5eb880642ef7b0b5 (diff)
downloadVirtualBox-svn-24f50d6284536d1015f6ae1449348051297f263b.tar.gz
DnD/HostService: Resolve message types to strings in DnDManager:DumpQueue().
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@97747 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/HostServices/DragAndDrop')
-rw-r--r--src/VBox/HostServices/DragAndDrop/dndmanager.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/VBox/HostServices/DragAndDrop/dndmanager.cpp b/src/VBox/HostServices/DragAndDrop/dndmanager.cpp
index fe380da2ada..2cf3b352daa 100644
--- a/src/VBox/HostServices/DragAndDrop/dndmanager.cpp
+++ b/src/VBox/HostServices/DragAndDrop/dndmanager.cpp
@@ -108,7 +108,12 @@ void DnDManager::DumpQueue(void)
{
LogFunc(("Current queue (%zu items, FIFO) is: %s", m_queueMsg.size(), m_queueMsg.isEmpty() ? "<Empty>" : ""));
for (size_t i = 0; i < m_queueMsg.size(); ++i)
- Log(("%s ", DnDHostMsgToStr(m_queueMsg[i]->GetType())));
+ {
+ if (i > 0)
+ Log((" - "));
+ uint32_t const uType = m_queueMsg[i]->GetType();
+ Log(("%s (%d / %#x)", DnDHostMsgToStr(uType), uType, uType));
+ }
Log(("\n"));
}
#endif /* DEBUG */