question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Display offending mod name when a fatal exception happens

See original GitHub issue

Description

A StackTrace can be constructed from an Exception, of which the frames can be walked, from where one can get the Reflection MethodInfo and thus the Assembly. From that, an Assembly -> mod lookup can be done. Inner exceptions may also have to be investigated.

I can make a PR if needed.

What does this proposal attempt to solve or improve?

This situation will become much easier to resolve.

Which (other) solutions should be considered?

Leaving things as-is?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Jofairdencommented, May 18, 2020

You can look inside the LoggingHooks.cs file, it shouldnt be hard to add

1reaction
Jofairdencommented, May 18, 2020

A PR would definitely be nice

Read more comments on GitHub >

github_iconTop Results From Across the Web

Better Exceptions: This Can Tell You What Mods Are Breaking ...
Better Exceptions is a mod that can typically locate what mods caused ... an exception and provide you with a report showing which...
Read more >
8. Errors and Exceptions — Python 3.11.4 documentation
The parser repeats the offending line and displays a little 'arrow' ... during execution are called exceptions and are not unconditionally fatal: you...
Read more >
"White screen of death" (WSOD) / HTTP Error 500
Occasionally a site user or developer will navigate to a page and suddenly the page content disappears, and it becomes blank. No content....
Read more >
Manage exceptions with the debugger in Visual Studio
When an exception occurs, the debugger writes an exception message to the Output window. It may break execution in the following cases when:....
Read more >
Systemic Inflammatory Response Syndrome - StatPearls
Systemic inflammatory response syndrome (SIRS ) is an exaggerated defense response of the body to a noxious stressor (infection, trauma, surgery, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found