Public access to modify returned file from findLocation()?
Sorry for the barrage of questions. Hope I am not wearing out my welcome.
I don't think there is currently a way to do this.
I am looking for a way to be able to perform a simple string replace on the
path to file/line as linked from an error/dump/barDump as determined by the
findLocation() method. Not sure the best approach for doing this.
Could it be an option parameters passed via Debugger::$editor – maybe an
array containing $search and $replace values that will be applied to
For the moment I am doing it with a core hack modifying $file after:
list($file, $line, $code) = $loc ? self::findLocation() : NULL;
Any chance you would consider adding the ability to do this?
Just to clarify this is because the files are run through a compiler – line numbers don't change, but obviously I don't want the edit links to point to the compiled version.
Thanks for letting me know if there is a current option that might work or for considering adding this functionality.
Sorry, this is really a duplicate of: https://forum.nette.org/…n-virtualbox
This has been taken care of: https://github.com/…0bde1320d35c