RimWorld

RimWorld

197 ratings
Better Stacktraces
5
4
2
3
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.6
File Size
Posted
Updated
39.521 KB
3 Aug @ 3:41pm
22 Aug @ 1:22pm
5 Change Notes ( view )

Subscribe to download
Better Stacktraces

Description
Better Stacktraces
After looking at too many stacktraces to count, I decided to make this to make developers' lives just a bit easier. It's also useful for users who run into errors. They can report more useful information to developers. Also, you'll know exactly which mod the error is from. No more guessing based of namespaces and method names only.

New!
Introducing XML error detection. When there's XML in an error, this mod will tell you the potential sources for that error. It also can pick up errors that don't have XML in them specifically, but that related to XML in some way, such as cross reference errors.

What's a Stacktrace?
A stacktrace is the long string of information that you see when you look at a message, warning, or error in the log. Developers use this information to debug the source of errors in their mods. That information comes from Unity, but useful information is stripped out when it finally gets to your log.

What Does it Do?
This overrides the default RimWorld stacktrace with my own.

Features include:
  • Mod name or source
  • Assembly name
  • Method parameter types and names
  • File names*
  • Line numbers*
  • XML errors

*File names and line numbers are only available if debugging information is found. e.g. The failing mod in question has .pdb debugging symbols next to the assembly in the mod's folder. Since this data is not available to any of RimWorld's or System assemblies, it will never pick up on that information.

Compatibility
  • Visual Exceptions

To Do
  • Add support for more error types

Note: Due to the nature of mod loading, this can't modify stacktraces that came before this mod loaded.
40 Comments
Aleksey  [author] 24 Sep @ 2:45pm 
It's a mod that tries to show you what mod an error comes from, similar to these other ones. I think it only shows when you're in game though. I'm not sure if it's made by Brainzz or not, but you would want this before the others and after Harmony.
veoba 24 Sep @ 2:25pm 
@Aleksey
Im using Mod Error Checker and Log After Def Error (Continued) both loaded after your mod and before main game and other mods. What is visual exceptions? Brainzz mod?
Aleksey  [author] 24 Sep @ 2:16pm 
@veoba It should be loaded as soon as possible so it can catch errors from other mods. I would say load it before Visual Exceptions.
ultra @bandit 24 Sep @ 12:11pm 
bless mods like these to spend more time adjusting my modlist than playing the game
veoba 24 Sep @ 7:27am 
Does this mod must be loaded before or after Visual Exceptions?
Aleksey  [author] 24 Aug @ 9:53am 
Awesome, glad to hear it!
Pickle Peterson 24 Aug @ 7:19am 
thank you for your this mod, you have saved me probably 3-6 hours worth of pain and guess work on my modpacks
Aleksey  [author] 20 Aug @ 6:57am 
I haven't tested in 1.5, but maybe. It depends on whether they changed the code that I'm hooking into between versions.
So dumm & Gomorrha 20 Aug @ 5:33am 
Does this work with 1.5?
AwesomeShite 11 Aug @ 5:13am 
w