appunti3s:gdb
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | appunti3s:gdb [2020/06/08 22:19] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Debug ====== | ||
+ | Leggere prima questa [[appunti3s: | ||
+ | |||
+ | Per l' | ||
+ | |||
+ | Si può usare un IDE (come // | ||
+ | |||
+ | - compilare il sorgente.cpp in debug mode < | ||
+ | - avviare il debugger, specificando anche l' | ||
+ | - inserire un breackpoint alla riga 5 digitando: < | ||
+ | - avviare esecuzione, che si interromperà al break, digitando:< | ||
+ | - al prompt creare un //automatic display// digitando: < | ||
+ | - procedere con passo 1, digitando: < | ||
+ | - basta premere invio per continuare con passo 1... | ||
+ | - Per uscire, digitare: < | ||
+ | |||
appunti3s/gdb.txt · Last modified: 2020/06/08 22:19 by 127.0.0.1