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.

Configuring Severity.Debug or higher leads to System.StackOverflowException

See original GitHub issue

This 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:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Somficcommented, Dec 31, 2019

This issue should be fixed with the new logging framework.

1reaction
Somficcommented, Dec 23, 2019

The problem seems to be caused by my logging engine. The temporary fix is to call the .UseFormat(false) method in EliteAPI.Logger

Read more comments on GitHub >

github_iconTop 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 >

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