more logging
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@47 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/constr_SET.c b/skeletons/constr_SET.c
index 0385722..a01b804 100644
--- a/skeletons/constr_SET.c
+++ b/skeletons/constr_SET.c
@@ -277,7 +277,8 @@
* already decoded elements.
*/
if(ASN_SET_ISPRESENT2(st + specs->pres_offset, edx)) {
- ASN_DEBUG("Duplicate element %d", edx);
+ ASN_DEBUG("SET %s: Duplicate element %s (%d)",
+ sd->name, elements[edx].name, edx);
RETURN(RC_FAIL);
}