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

Added ILLine submodule #230

Merged
merged 2 commits into from Nov 18, 2020

Conversation

mistername
Copy link
Contributor

Adds a submodule named ILLine that always loads (shouldload always gives true).
Based on this mod that makes it so on stack traces it tries to replace the 0 on the end with the IL offset of the instruction (inlining can cause this line number to not be correct).
useful for knowing where your code raises an exception

@harbingerofme
Copy link
Collaborator

This does seem to be not a feature that is needed for the end-user.
Can we put the always loaded behind a config option?

@Reinms
Copy link
Contributor

Reinms commented Nov 18, 2020

As long as the default is true. Tech support becomes way easier when this exists.

Also, the end users of r2api are mod devs.

@xiaoxiao921
Copy link
Member

The rule of r2api is to not impact gameplay directly and at worse what will happen is that spamming stack traces will go from already killing frame to maybe a just a little bit more. Very good addition imo

@tristanmcpherson tristanmcpherson merged commit d36804b into risk-of-thunder:master Nov 18, 2020
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

Successfully merging this pull request may close these issues.

None yet

5 participants