Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Debugging challenge - loop with async tasks

$
0
0

I am wondering how I can improve my debugging situation in a loop with async Tasks.

Inside this loop there is a Task to check the db for configuration settings that need to be sent to field devices.

If it finds any a new packet is created and sent out.

There is a mystery in the sending out part, so I am trying to debug this in VS2019 16.7.2

The loop keeps generating new tasks and as a result I see the debugger point all over the place and it is impossible to keep track where I am.

Looking for suggestions on how to do this properly.


Viewing all articles
Browse latest Browse all 3509

Trending Articles