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

调试时无法步入添加了切面的方法 #36

Closed
TianCaibailei opened this issue Apr 19, 2023 · 6 comments
Closed

调试时无法步入添加了切面的方法 #36

TianCaibailei opened this issue Apr 19, 2023 · 6 comments
Labels
enhancement New feature or request
Milestone

Comments

@TianCaibailei
Copy link

如题,只能看到反汇编代码

@inversionhourglass
Copy link
Owner

感谢反馈,这个是已知问题,预计会在2.0.0版本修复,目前的建议是在需要调试的方法上添加断点,然后直接运行到断点处,或者继续步入几次后进入实际方法

@inversionhourglass inversionhourglass added the bug Something isn't working label Apr 19, 2023
@inversionhourglass inversionhourglass added this to the 2.0.0 milestone Apr 19, 2023
@inversionhourglass inversionhourglass added enhancement New feature or request and removed bug Something isn't working labels Apr 20, 2023
@inversionhourglass inversionhourglass removed this from the 2.0.0 milestone Oct 6, 2023
@inversionhourglass
Copy link
Owner

这个问题在2.0版本无法进行修复。这是由于肉夹馍采用的是最小代码织入,直接在目标方法织入代码,如果需要支持较好的调试体验,需要采取另一种织入方式,这种方式在同步方法上产生的额外织入代码还好,但是在异步方法上将产生大量的额外织入代码。

后续可以考虑通过配置或者判断debug模式以方便调试的方式织入代码,release模式以最小织入的方式织入代码。这个改动会比较多,将不在2.0版本提供,后续再看情况。

@hzy-6
Copy link

hzy-6 commented Nov 14, 2023

这个问题希望能尽快安排上,基本就稳定可靠了

@bxjg1987
Copy link

请问下大佬,这个问题有进展吗?

@inversionhourglass
Copy link
Owner

请问下大佬,这个问题有进展吗?

正在开发中,近期还有些别的事,所以还需要些时间

@inversionhourglass
Copy link
Owner

3.0版本已发布,支持步入调试

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

No branches or pull requests

4 participants