Welcome to the Builder Academy

Question How do I read the core file

More
13 Dec 2024 21:21 #10456 by JTP
HI

Anyone who could tell me how to debug a core file ?

Not often , but every now and then I have a crash and I get a core file.


But I have no idea how to see what happened.


So if anyone could give me a complete walkthrough on how to see what it says. Then I will be very gratefull..

Thanks in advance.

Please Log in or Create an account to join the conversation.

More
More
13 Dec 2024 23:05 #10459 by JTP
Replied by JTP on topic How do I read the core file
Can the mud still run to look at the core file gdb bin/circle lib/core.# ??

Or do I need to kill the mud first ?

Please Log in or Create an account to join the conversation.

More
15 Dec 2024 12:52 #10464 by thomas
Replied by thomas on topic How do I read the core file
the core file is separate from the running mud. So you can just open it with "gdb lib/core" and it will debug _that_ session.

Please Log in or Create an account to join the conversation.

Time to create page: 0.229 seconds