Cities: Skylines

Cities: Skylines

Ocen: 152
XCatcher
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Mod
Rozmiar pliku
Zamieszczono
Zaktualizowano
11.264 KB
26 marca 2023 o 10:47
11 lipca 2023 o 23:10
Listy zmian: 11 ( zobacz )

Zasubskrybuj, aby pobrać
XCatcher

W 1 kolekcji stworzonej przez Nyoko
General Troubleshooting
Przedmioty: 5
Opis
XCatcher: Exception Catcher
Exports Null Reference Exceptions to a separate file as they happen.


[www.paypal.com]


[discord.gg]

  • Exception Monitoring: When the game is launched, XCatcher actively monitors for exceptions, specifically NullReferenceExceptions.
  • Error Reporting: When a NullReferenceException is detected, XCatcher captures the error message and stack trace associated with the exception.
  • HTML Logging: XCatcher logs the error message, stack trace, and additional details to an HTML file located within the XCatcher/Logs directory. The HTML file provides comprehensive information about the exception, including the date and time it occurred.
  • Exception Trigger: XCatcher includes an experimental feature to trigger a NullReferenceException manually. This feature helps test the mod's functionality and allows users to simulate exceptions for debugging purposes.






Consider supporting me!
[ko-fi.com]

Source code:
[github.com]

Get support on Discord
[discord.gg]
Popularne dyskusje Zobacz wszystkie (1)
0
2
27 marca 2023 o 10:37
PRZYPIĘTE: Common Mods Known to Cause NullReference Exceptions
Nyoko
Komentarzy: 51
Lord 25 marca o 21:09 
@patioticparadox I approve and endorse the improved/edited version of the protip. :)
patrioticparadox 25 marca o 15:57 
This mod gets the log location wrong on Linux because it uses backslash "\" instead of forward slash "/" for the path. A Linux file system sees it as a long file name rather than a path.

Protip for all Windows developers: ALWAYS use forward slash "/". Never use back slash.

The result is that Windows will treat a forward slash exactly the same and it'll also work on Linux, even when the application isn't Linux native.
alegomin 23 stycznia o 6:34 
Could you update it to catch these ones too? They're so annoying popping every sec without no info
Cannot cast from source type to destination type. [System.InvalidCastException]

Details:
No details

Wonderful mod by the way :)
Nyoko  [autor] 22 listopada 2024 o 10:53 
If you have a null reference it's better to hit a support center with your logs if possible.
vic.foras 22 listopada 2024 o 9:07 
This works with "Array Index is out of range"?
Lord 24 sierpnia 2024 o 16:44 
It works fine on Linux, it just puts the log file in an incorrect path due to the slashes, which clutters up the directory structure with junk.
Nyoko  [autor] 24 sierpnia 2024 o 15:39 
This mod wasn't made with Linux in mind. If you have a null reference it's better to hit a support center with your logs in Linux if possible.
Lord 24 sierpnia 2024 o 9:14 
This mod gets the log location wrong on Linux and creates a folder in the local folder ("LocalAppData" on Windows I guess) named "Colossal Order\Cities_Skylines\Addons\Mods\XCatcher\Logs". I think because it uses backslash \ instead of forward slash / for the path so a Linux file system sees it as a long file name rather than a path.

PROTIP for all Windows developers: ALWAYS use forward slash ("/") never use back slash.

Windows will treat a forward slash just the same and it'll work on Linux, even when the application isn't Linux native.
stick 23 lipca 2024 o 12:06 
this doesnt work the error messages still pop up
acquadiroccia 9 stycznia 2024 o 9:59 
Date and Time: 1/9/2024 9:12:41 AM

Error Message: NullReferenceException caught: 'WoodBridgeback' failed to load. System.NullReferenceException: Object reference not set to an instance of an object at LoadPanel.Refresh () [0x00000] in :0 [Serialization]

Stack Trace:
Possible source of Exception:

any idea?