GitHub-Source-Indexer
GitHub-Source-Indexer copied to clipboard
$dbg.Defintion
Not sure what Line 144 is supposed to be exactly, but as far as I can tell from here, it cannot work:
$dbgToolsPath = $([System.IO.Path]::GetDirectoryName($dbg.Defintion)) + "\srcsrv"
$dbg is never defined, but maybe it's supposed to be a global variable? And then Defintion has a typo, but that may also come from a misdefined API I do not know.
So either, the fallback code is referencing a global, misspelled API, or it's dysfunctional :)
Yes this does appear to be a bit wrong - I've got the debugging tools in my path so this code is never reached in that case. I'll look into it at some point though..
Well, it was of course not that obscure that I could not get past it. Just thought I mention it here.