Skip to content

Commit 12a6368

Browse files
committed
C dictionary size debug
1 parent 1d48002 commit 12a6368

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/c/watchface.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,7 @@ void in_recv_handler(DictionaryIterator *iterator, void *context)
850850
APP_LOG(APP_LOG_LEVEL_DEBUG, "%s() heap free %ju bytes heap used %ju bytes", __func__, (uintmax_t) heap_bytes_free(), (uintmax_t) heap_bytes_used());
851851
#endif /* myDEBUG_HEAP */
852852

853+
APP_LOG(APP_LOG_LEVEL_DEBUG, "%s() dictionary size %d bytes", __func__, (void*) iterator->end - (void*) iterator->dictionary);
853854

854855
t = dict_find(iterator, MESSAGE_KEY_BACKGROUND_COLOR);
855856
if (t)

0 commit comments

Comments
 (0)