[core] Fixed dereference error in debug ouput

Signed-off-by: Christina Quast <chrysh.ng+github@gmail.com>