0

I was having problems with async methods interfering with each other or my debugging, and asked a question about that here.

After changing my code as suggested in the answers there, I now get this when I try to step into (F11) from the async void event handler into the async Task method:

enter image description here

However, I see no such option when I reach the call to the method from the event handler and right-click on that line.

I looked for a way to set it up in the Debugging > Settings, too, but don't see a "Step Over Properties and Operations" checkbox:

enter image description here

What do I need to do to reach the breakpoint I have set in the async method?

B. Clay Shannon-B. Crow Raven
  • 5,261
  • 133
  • 434
  • 811

1 Answers1

1

The option is actually there:

enter image description here

You should uncheck the option Step over properties and operators(Managed only) and then try to debug again.

Mr Qian
  • 17,533
  • 1
  • 15
  • 28