Panel | ||
---|---|---|
| ||
|
On NCI compute systems, the following debug tool can be used:
...
GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it executes -- or what another program was doing at the moment it crashed.
More information: https://www.gnu.org/software/gdb/
Code Block |
---|
$ cc -g prog.c $ gdb ./a.out ... (gdb) list (gdb) stop at 10 (gdb) run (gdb) print variable ... (gdb) quit |
By default your jobs will not produce coredump files when they crash. To generate corefiles you need:
...