You load up the debug info and get all file/line info you need, or you debug the core file.
It’s a much better mechanism than anything I’ve looked at in the Linux space (caveat: I have not been developing C++ for a while).
I was so impressed I started looking at what it would take to implement for the gcc/gdb toolchain but discovered Microsoft held a patent and gave up.