[core] Improve memory debug view

Add commands on heapy variable:
type.0, type.1, etc.