I
I
IcEWaRRiOr2021-05-25 14:25:20
Programming languages
IcEWaRRiOr, 2021-05-25 14:25:20

What is "post-mortem scripting" and "post-mortem debugging"?

Hello, while taking a course on Hexlet, I read the following item in the tips for the review:

Learn the stacktrace...

Since I had not seen such a word before, I began to read about it on Wikipedia , and found the following lines in it:
commonly use stack traces during interactive as well as post- mortem debugging

In a post-mortem scenario , this extends to the function that failed

What is "post-mortem debugging" - I already googled -
This debugging mode is used to analyze parallel programs whose execution has been interrupted.

Now I have two more questions:
  1. How to activate this debugging
  2. What is "post-mortem analysis"

The second paragraph was in the same article:
debugging of the program should be carried out in the mode of post- mortem analysis


So what are post-mortem debugging, post-mortem analysis, and post-mortem scripting?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2021-05-25
@firedragon

Some languages ​​throw a crash dump. You call the debugger with this dump and you are at the point of error. That is, not interactively. The program is naturally not executed, but its state can be analyzed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question