Skip to content
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

[v2] Breakpoints do not work when Fat Arrow is assigned to a variable #105

Closed
zero-plusplus opened this issue Jun 20, 2021 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@zero-plusplus
Copy link
Owner

It does not work when a breakpoint is set on a line where a variable is assigned a function object or closure using Fat Arrow as shown below.
I checked and it seems that a122 already has this bug.

func := () => "func"
closure := () => func

However, if call it as follows, the breakpoint will work correctly. Therefore, this may be a specification or bug in the AutoHotkey debugger.

%func%()

I need to find out if this bug is due to a specification or an extension.

@zero-plusplus zero-plusplus added the bug Something isn't working label Jun 20, 2021
@zero-plusplus
Copy link
Owner Author

When I checked with SciTE4AutoHotkey, the behavior was the same, so I'm going to assume that this is the current specification or bug of AutoHotkey and close this issue.

@Lexikos
Copy link

Lexikos commented Apr 21, 2024

This is still listed as a known issue on the wiki, but it was fixed before the v2.0.0 release (AutoHotkey/AutoHotkey@95d36a3).

@zero-plusplus
Copy link
Owner Author

Thank you for your report.
I had forgotten its page existed when I noticed the fix.

The wiki has just been updated. It can be found below link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants