Cities: Skylines

Cities: Skylines

151 arvostelua
XCatcher
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Mod
Tiedostokoko
Julkaistu
Päivitetty
11.264 KB
26.3.2023 klo 10.47
11.7.2023 klo 23.10
11 muutosilmoitusta ( näytä )

Tilaa ladataksesi
XCatcher

1 kokoelmassa, tekijä Nyoko
General Troubleshooting
5 luomusta
Kuvaus
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]
Suositut keskustelut Näytä kaikki (1)
0
2
27.3.2023 klo 10.37
TÄRKEÄ: Common Mods Known to Cause NullReference Exceptions
Nyoko
51 kommenttia
Lord 25.3. klo 21.09 
@patioticparadox I approve and endorse the improved/edited version of the protip. :)
patrioticparadox 25.3. klo 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.1. klo 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  [tekijä] 22.11.2024 klo 10.53 
If you have a null reference it's better to hit a support center with your logs if possible.
vic.foras 22.11.2024 klo 9.07 
This works with "Array Index is out of range"?
Lord 24.8.2024 klo 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  [tekijä] 24.8.2024 klo 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.8.2024 klo 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.7.2024 klo 12.06 
this doesnt work the error messages still pop up
acquadiroccia 9.1.2024 klo 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?