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

how can i debug the method which annotated with @async #2

Open
wzhang12 opened this issue Jun 21, 2018 · 3 comments
Open

how can i debug the method which annotated with @async #2

wzhang12 opened this issue Jun 21, 2018 · 3 comments

Comments

@wzhang12
Copy link

when i use intellij idea run the examples provided, it seems the breakpoint cannot be hit

@vsilaev
Copy link
Owner

vsilaev commented Jun 24, 2018

Hello,

The issue is acknowledge, but the fix is pending to the second release.
The reason behinds the behavior observed is that internally async/generator methods are transformed into anonymous internal class, but debug information (file/line-number) is not preserved. Will fix it after I released a first future-complete build.

Regards,
Valery

@digiovinazzo
Copy link

Hello, has this issue been fixed? Are we able to debug async methods?

@vsilaev
Copy link
Owner

vsilaev commented May 23, 2022

Unfortunately, this task is get out of my radar (

Regardless of my brave release numbering, the project still has issues with scheduler resolvers (already addressed, to be released shortly), lack of documentation and missing Gradle plugin (even orthodoxic me use Gradle more often than Maven nowadays). These are what to be addressed first.

What is implemented currently for debugging is a blind copying of source-file-name/line-number from the source file to the generated ones (in bytecode, i.e. ".class" form). I saw that it worked in some my tests, though, no deep analysis/impl. was performed for the issue.

My apologizes with a delayed fix, but the issue is still "alive"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants