Configuring Severity.Debug or higher leads to System.StackOverflowException
See original GitHub issueThis is the output in console when using
EliteAPI.Logger.UseConsole(Severity.Debug);
as configuration:
Debug ─ EliteAPI by CMDR Somfic (discord.gg/jwpFUPZ) (github.com/EliteAPI/EliteAPI).
Debug ─ EliteAPI v2.2.23.879.
Debug ─ Checking for updates from GitHub.
Debug ─ Latest version: 2.2.23.879 (curr. 2.2.23.879).
Debug ─ EliteAPI is up-to-date with the latest version.
Info ─ Journal directory set to 'C:\Users\<USERNAME>\Saved Games\Frontier Developments\Elite Dangerous'.
Debug ─ Searching for 'Journal.*.log' files.
Debug ─ Found 'Journal.191222135652.01.log'.
Debug ─ Found 'Status.json'.
Debug ─ Found 'Cargo.json'.
Debug ─ Found 'Shipyard.json'.
Debug ─ Found 'Outfitting.json'.
Debug ─ Found 'Market.json'.
Debug ─ Found 'ModulesInfo.json'.
Info ─ Found Journal and Status files.
Warning ─ Elite: Dangerous is not in-game.
Debug ─ Catching up with past events from this session.
Debug ─ Processing event 'Fileheader'.
Debug
Process is terminated due to StackOverflowException.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to debug a stackoverflowexception in .NET
Go to Debug, exceptions and check the thrown checkbox at 'Common Language Runtime Exceptions'. Now when you cause the stackoverflow exception, ...
Read more >Debugging StackOverflow errors
A StackOverflowException is thrown when the execution stack overflows because it contains too many nested method calls.
Read more >Debugging Application Verifier Stops - Windows drivers
A stack overflow exception (0xC00000FD) is generated when the Check for adequate stack option detects that the initial stack was too short. One ......
Read more >Debugging stackoverflowexception when you can't debug
I have an interesting challenge trying to debug a compiled application that only crashes sometimes. I have my application set to run on...
Read more >sandcastle stops with error Process is terminated due to ...
I am trying to document a .NET Framework 2.0 class library I hav just installed the 2017.12.30.2 version and I am using Visual...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This issue should be fixed with the new logging framework.
The problem seems to be caused by my logging engine. The temporary fix is to call the
.UseFormat(false)method inEliteAPI.Logger