...
Among other things this report also have file information (name and line number) from which a particular record was added into debugger report. As you can see they are clickable, however to be able to open each file a special Launchy (https://addons.mozilla.org/en-us/firefox/addon/launchy/) Firefox extension needs to be installed.
Problem
All seems nice, but line number, specified next to filename in debugger report isn't passed along to a program, that will open that file. Because of this developer need:
...
Different IDE most likely will use different way of specifying line number in command line. To be compatible with most of IDE debugger don't pass line number to IDE at all.
Solution
I've been "Command-line Launcher" tool (http://shellrunner.com/2012/11/16/open-files-from-the-command-line-in-phpstorm/), that is created automatically upon PHPStorm installation, but also can be created on request (e.g. if it's missing). I never noticed, but this tool is actually a wrapper script around PhpStorm main executable, that allows it to support larger variety of command-line option formats (same options, but typed in different ways). Along them I've found out one, that allowed "filename:line_number" notation to be used (same as you saw in debugger report before):
...
debugger_file_line_number_fix.patch
Related Tasks
Jira Legacy | ||||
---|---|---|---|---|
|