circuitpython/tools/output_gc_until_repl.txt
Scott Shawcroft da330f0cab Polish up the heap analysis script and make it more CLI friendly.
It can now render the heap layout over a sequence of ram dumps.

The mpy analysis is also better at parsing mpy files.
2018-01-24 10:33:46 -08:00

30 lines
386 B
Plaintext

tar ext :2331
monitor reset
set width 0
set height 0
set verbose off
set logging file mylog.txt
set logging overwrite on
set logging redirect on
set logging on
set remote hardware-breakpoint-limit 4
# gc log
break gc.c:103
commands
backtrace
p/x start_block
p/x length
append binary memory ram.bin &_srelocate &_estack
continue
end
break main.c:164
continue
delete
disconnect
quit