-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug Console: Hyperlink to error line #12
Comments
It is a bug that should be fixed that the output is a little strange when using parenthesized paths. For paths with spaces, I've checked with the Node Debugger, but those paths have broken links. I also checked the file of multi-byte character strings. In that case, the file name is displayed as |
There is no problem in creating a new one. |
This issue has been fixed in 1.3.6. Please close this issue if you can confirm. If you still have problems, please see my previous comments and comment again. |
Still problems. Path: "D:\Documents\GAR\Newfolder2\Untitled1.ahk" |
This is not a problem. It is a specification. The line shown in yellow only shows the command when executing AutoHotkey, not the error output. By the way, another problem, try Well, actually you can fix this problem. OnError("errorHandler")
TraySetIcon("AHK_Gold_16x16.ico")
return
errorHandler(exception, reason)
{
message := Format("{}:{} ==> {}", exception.file, exception.line, exception.message)
if (exception.hasOwnProp("extra")) {
message .= "`n Specifically: " . exception.extra
}
message .= "`n"
OutputDebug(message)
ExitApp
} |
Thanks for your explanations and the education. It seems I can send output to DEBUG CONSOLE that becomes a hyperlink to a file or line within file. I wonder what the requirement is?
Is this correct? Is this a feature of your extension and your specification? Or part of DBGp protocol?
|
I think it's correct. I write each answer.
|
Also, I have requested Autohotkey admin to try and enable your user account. |
This is a vscode spec, not a bug It seems difficult to fix this problem, but it seems that there is intention to consider it, so if you request symbols other than brackets, you may be able to fix it.
sorry. I confirmed that my account was already activated. |
Thanks - what about the spaces? |
look here This is also added to the fix plan. |
I have made enhancement request in AHK Forum |
Thanks for the report. |
Parentheses and spaces in path (folder name or file name) breaks Hyperlink to error line.
I did not test other non-alpha characters that are valid for folder/file names.
Examples:
"D:\Documents\GAR\New folder (2)
"D:\Documents\GAR\Newfolder2\Untitled 2.ahk"
For future issues, do you have preference:
I am missing this feature very much as I am fixing scripts to be compatible with new AHK version which has broken (almost all of) my scripts!!
The text was updated successfully, but these errors were encountered: