|
|
FAQ Answerpage
QUESTION:
What should I do when the debugger won't tell me where my program crashed?
ANSWER:
This happens for several reasons:
- Most of our past production builds removed the debugging symbols to save space and time. That prevents certain debuggers from figuring out where things happen.
- AIX is really stupid about getting information about certain crashes. You need to addpkg the place where the crash occurs, recompile/relink, and then run again. This will give the debugger more data and help with debugging.
But how do you figure out which package? There are a couple of things you can do to narrow it down. First, turn on the name trace to find out what module has control during the crash:
action on NameAction
Then, recompile the package it comes from, relink, and start the program under the debugger, and step by function call. It will take time, probably lots of time, but you can now narrow your search for the bug to a very helpful degree of accuracy.
(Last updated 7/14/98)
[ SLAC Homepage] [Search] [FAQ Homepage]
If you have a FAQ (with or WITHOUT an answer), use our prototype submission form.
If you have comments or suggestions, email me at sison@slac.stanford.edu
|
|