In Python when a crash happens, the line of code where it crashed and the error message is printed to the console window. This can be setup as well in Free Pascal using the lineinfo unit.
Is there an equivalent in C++ (Visual Studio Community)?
This (https://learn.microsoft.com/en-us/visualstudio/debugger/getting-started-with-the-debugger-cpp?view=vs-2019) does not tell me on which line the crash happened but helps me guess where it did, which I would like to save time on.