View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002107 | Xdebug | Documentation | public | 2022-07-30 14:26 | 2022-10-02 15:28 |
Reporter | shoulders | Assigned To | derick | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Xampp / Apache | OS | Windows 10 Pro x64 | ||
Product Version | 3.1.5 | ||||
Summary | 0002107: stack trace links do not open in Netbeans on Windows - documentation issue | ||||
Description | I followed the instructions here: https://xdebug.org/docs/all_settings#file_link_format After adding the information to the registry and creating the batch file as advertised and clicking on the stack trace links I get an error that the file cannot be found. (picture attached) I am not using nircmd The output of the batch file is as follows
My version of netbeans is different to the instructions but this is not causing any issue. If you look at the command that opens the link in netbeans (the last one) you can see that instead of directories separated by slashes they are being separated by the equivalent HTML entity which is %5C I have the same issue with Firefox 103.0 (64-bit) and chrome 103.0.5060.134 If I manually take that last link and swap all of the %5C to slashes and run the relevant file opens up in netbeans So the issue is clearly for some reason the link to the file is being passed with HTML entities and not slashes. My Solution/Workaround is in additional information below | ||||
Steps To Reproduce | follow the instructions as outlined here https://xdebug.org/docs/all_settings#file_link_format | ||||
Additional Information | PHP Info: Solution/WorkaroundI am not an expert but What I have done is taken the batch file offered at https://xdebug.org/docs/all_settings#file_link_format and added an additional step in to string replace the HTML entities into slashes before the link is passed to netbeans
I am not using nircmd
| ||||
Tags | file_link_format, netbeans, Stack Trace, windows | ||||
Operating System | Windows 10 Pro x64 | ||||
PHP Version | 8.1.0-8.1.4 | ||||
|
|
|
Thanks, I have now updated the snippet with your suggested work around. (And also added PhpStorm's format) |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-07-30 14:26 | shoulders | New Issue | |
2022-07-30 14:26 | shoulders | Tag Attached: file_link_format | |
2022-07-30 14:26 | shoulders | Tag Attached: netbeans | |
2022-07-30 14:26 | shoulders | Tag Attached: Stack Trace | |
2022-07-30 14:26 | shoulders | Tag Attached: windows | |
2022-07-30 14:26 | shoulders | File Added: netbeans-error.jpg | |
2022-07-30 14:26 | shoulders | File Added: stack-trace-link.jpg | |
2022-08-09 09:53 | derick | Description Updated | |
2022-08-09 09:53 | derick | Additional Information Updated | |
2022-10-02 15:28 | derick | Assigned To | => derick |
2022-10-02 15:28 | derick | Status | new => closed |
2022-10-02 15:28 | derick | Resolution | open => fixed |
2022-10-02 15:28 | derick | Note Added: 0006379 |