3

I have a very large code base and I am seeing Stack overflow exception without any stack trace in the memory dump of the process. I want to find all the recursive code in the codebase. Is there any way to achieve in either Visual Studio or Rider or any other way?

Jack J Jun
  • 5,633
  • 1
  • 9
  • 27
Vishal Anand
  • 1,431
  • 1
  • 15
  • 32

1 Answers1

1

You could use an external tool like https://www.red-gate.com/products/dotnet-development/ants-performance-profiler/ or https://www.jetbrains.com/profiler/.

Those tools will allow you to run the code with a profiler running that will easily show you where your memory and time consumed is being spent (they also offer free trial)

Ran Turner
  • 14,906
  • 5
  • 47
  • 53