From 5f12577e39a1f31fc0bdc9a92ce9f89ba59a7e8d Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 4 Jan 2018 13:41:17 +0100 Subject: [PATCH] CComponentsForm: expand debug output to identify current used container Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/a8d27ed73866dcb731e828b307d696230b701c07 Author: Thilo Graf Date: 2018-01-04 (Thu, 04 Jan 2018) --- src/gui/components/cc_frm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm.cpp b/src/gui/components/cc_frm.cpp index b5ae0d15c..b15a1b6ac 100644 --- a/src/gui/components/cc_frm.cpp +++ b/src/gui/components/cc_frm.cpp @@ -249,7 +249,7 @@ int CComponentsForm::genIndex() CComponentsItem* CComponentsForm::getCCItem(const uint& cc_item_id) { if (cc_item_id >= size()){ - dprintf(DEBUG_NORMAL, "[CComponentsForm] [%s - %d] Error: parameter cc_item_id = %u, out of range (size = %zx)...\n", __func__, __LINE__, cc_item_id, size()); + dprintf(DEBUG_NORMAL, "[CComponentsForm] [%s - %d] Error: inside container type = [%d] [%s] parameter cc_item_id = %u, out of range (size = %zx)...\n", __func__, __LINE__, cc_item_type.id, cc_item_type.name.c_str(), cc_item_id, size()); return NULL; }