Source code accessibility
CaptainHook8 opened this issue · 3 comments
Hello!
I am on Windows and added backward.cpp to my project; on my build machine (where my source code is present) I am able to display the nice code snippets on throwing an exception. If i move my binary, obviously compiled in Debug, to another machine, I am just able to display the really basic stack trace, I guess because source code is missing.
So, what do I have to do to display the nice source related stack trace? Where do I have to put the sources on the target machine? I tried to place the sources on the same path as the build machine, but that didn't help.
Thanks!
Hello @bombela and thanks for your feedback.
I think the problem might be I am not transferring the .pdb file along with the binary on the target machine.
I will try and let you know.
Hello @bombela and thanks for your feedback. I think the problem might be I am not transferring the .pdb file along with the binary on the target machine. I will try and let you know.
Yeah, that was it!