GitHub-Source-Indexer icon indicating copy to clipboard operation
GitHub-Source-Indexer copied to clipboard

$dbg.Defintion

Open GrimaceOfDespair opened this issue 13 years ago • 2 comments

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 :)

GrimaceOfDespair avatar Feb 22 '12 12:02 GrimaceOfDespair

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..

Haemoglobin avatar Mar 04 '12 21:03 Haemoglobin

Well, it was of course not that obscure that I could not get past it. Just thought I mention it here.

GrimaceOfDespair avatar Mar 05 '12 10:03 GrimaceOfDespair