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

Display mixin source file and line numbers #82

Open
Earthcomputer opened this issue Oct 24, 2021 · 6 comments
Open

Display mixin source file and line numbers #82

Earthcomputer opened this issue Oct 24, 2021 · 6 comments

Comments

@Earthcomputer
Copy link

Mixin generates an SMAP in the target class when transforming it, which allows you to obtain which mixin added a particular line of code. Or perhaps it might be easier to use @MixinMerged.

@natanfudge
Copy link
Owner

In what way should it be displayed? Added to stack traces like Forge? Taken into account when determining suspected mods?

@Earthcomputer
Copy link
Author

I'd just replace the source file

@natanfudge
Copy link
Owner

@Earthcomputer Where can I find more information on this 'SMAP'?

@Chocohead
Copy link

For what it's worth I did this a few months ago. Ran happily enough alongside NEC back then and I would presume it still does now.

@natanfudge
Copy link
Owner

@Chocohead Hey, I would like to use the code you posted, but it does not have a license. Do you permit me using that code for Not Enough Crashes?

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