0

I have a Windows Store 8.1 App where the background task throws a Stackoverflow Exception before it completes. The task uses Reactive Extensions and a third party library.

I have tried debugging through the agent, but I cannot find the location where the exception is thrown.

Are there any good ways to debug this problem?

alitaleg
  • 165
  • 2
  • 11

1 Answers1

0

If the stack overflow is caused by recursion and your debugger supports this feature, you can sprinkle some breakpoints around your code and tell them not to break until their hit count greater than some big number:

enter image description here

Steve Wellens
  • 20,506
  • 2
  • 28
  • 69