diff --git a/components/micropython/vendor/py/qstr.c b/components/micropython/vendor/py/qstr.c index ea700566f4f7d74f6db3860705708361b2362641..3daba6e5693184ed320b719ae05fc88f339a5ec9 100644 --- a/components/micropython/vendor/py/qstr.c +++ b/components/micropython/vendor/py/qstr.c @@ -165,7 +165,7 @@ STATIC qstr qstr_add(mp_uint_t hash, mp_uint_t len, const char *q_ptr) { pool->alloc = new_alloc; pool->len = 0; MP_STATE_VM(last_pool) = pool; - DEBUG_printf("QSTR: allocate new pool of size %d\n", MP_STATE_VM(last_pool)->alloc); + printf("QSTR: allocate new pool of size %d %p %p\n", (int)MP_STATE_VM(last_pool)->alloc, MP_STATE_VM(last_pool), MP_STATE_VM(qstr_last_chunk)); } // add the new qstr @@ -247,6 +247,7 @@ qstr qstr_from_strn(const char *str, size_t len) { } MP_STATE_VM(qstr_last_alloc) = al; MP_STATE_VM(qstr_last_used) = 0; + printf("qstr_last_chunk %p %p\n", MP_STATE_VM(qstr_last_chunk), MP_STATE_VM(last_pool)); } // allocate memory from the chunk for this new interned string's data