How to remove build path from PDB-file
Asked Answered
S

1

6

Is there a way to replace the build path that is being generated into pdb-Files?

So that e.g. an error in the form of "exception in f:\xy\build-dir\foo.vb at line 123" is then given as "exception in something else\foo.vb at line 123"

Seniority answered 17/9, 2015 at 13:59 Comment(7)
Same question, but it was >7 years ago now, so there might be different answers.Eolanda
Any why the downvote?Seniority
No idea - wasn't from me! It's something I'm interested in finding out if there's an answer to - wouldn't mind implementing it hereEolanda
@JamesThorpe Sorry, James, my comment wasn't aimed at you, but rather at the not-so-talkative-downvoter... I appreciate your comments and also the link to the other question.Seniority
No worries - I didn't think it was, but since I got notified of your comment I thought I'd respond :) I think unless this is edited or has a bounty placed on it, it's unlikely to get many more eyes on it unfortunatelyEolanda
I'm still looking for such a tool, too. Still didn't find one. I guess we need to write our own.Distributive
@ThomasWeller Hi Thomas, let me know if you found a solution, ok? Danke ;)Seniority
I
0

I believe you need to set up a source indexing process as mentioned in [1], [2] or [3]. I'm in the process of doing this but I'm struggling myself, mainly trying to understand how to add the correct formatted lines to the script.

[1] - https://gist.github.com/baldurk/c6feb31b0305125c6d1a [2] - https://learn.microsoft.com/en-us/windows/win32/debug/source-server-and-source-indexing?redirectedfrom=MSDN [3] - https://www.codeproject.com/articles/115125/source-indexing-and-symbol-servers-a-guide-to-easi

Inculpate answered 27/5, 2020 at 3:22 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.