Differences between version 2 and previous revision of DeBugging.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Tuesday, July 30, 2002 7:00:59 pm | by PerryLorier | Revert |
Older page: | version 1 | Last edited on Tuesday, July 30, 2002 7:00:09 pm | by PerryLorier | Revert |
@@ -22,9 +22,9 @@
strace ''pid''
will also work.
If your program hangs, you can press Alt-\ to send it a SIGQUIT and force it to dump core. You can also force them to dump core with the command:
- kill -QUIT ''program
''
+ kill -QUIT ''programpid
''
To create core files you have to remove the ulimit(1) on them. This can be done with the command:
ulimit -c unlimited
Note, this is for the shell (and all it's children) only.