diff -r eed01e0ab32a -r db05cb9e0439 targets/plc_debug.c --- a/targets/plc_debug.c Tue Apr 11 12:51:35 2017 +0300 +++ b/targets/plc_debug.c Tue Apr 11 17:45:49 2017 +0300 @@ -165,7 +165,9 @@ /* compute next cursor positon. No need to check overflow, as BUFFER_SIZE is computed large enough */ - if(dsc->type == STRING_ENUM){ + if((dsc->type == STRING_ENUM) || + (dsc->type == STRING_P_ENUM) || + (dsc->type == STRING_O_ENUM)){ /* optimization for strings */ size = ((STRING*)visible_value_p)->len + 1; }