O'Reilly logo

C# Multithreaded and Parallel Programming by Rodney Ringler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Debugging an entire application

Now that we have examined all of the windows that the Visual Studio debugger provides for debugging multithreaded applications let's go through a real example. We will use the OldStarsFinder application that uses tasks and the TPL that we finished in Chapter 7, Data Parallelism. Remember that this application takes a user-entered number and then divides a large bitmap file by that number into an equal number of smaller bitmap files. Then, using a parallel ForEach loop, it processes each bitmap to try and find old stars in the image. It keeps a track of how many old stars are found. When it finishes, it reassembles the pieces and displays the large bitmap with each old star colored blue. It also displays the final ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required