CComponentsForm: expand debug output to identify current used container

Origin commit data
------------------
Commit: a8d27ed738
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-01-04 (Thu, 04 Jan 2018)
This commit is contained in:
2018-01-04 13:41:17 +01:00
committed by vanhofen
parent 5a2f5cfc57
commit 5f12577e39

View File

@@ -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;
}