35
edits
Changes
Added the tools descriptions, screenshots pending
=== Visual Studio tools for multithreaded debugging ===
Visual Studio provides the developers with a variety of tools to assist with the multithreaded application debugging based on the specifics of the implementation:
* '''Threads'''** '''Threads window''' - Allows to view and manipulate the threads, also provides partial call stack for each of the threads** '''Thread markers''' - Icon resembling two cloth threads indicating where a thread is stopped. Provides a DataTip containing the name and thread ID, as well as thread manipulation shortcut menu ** '''Parallel Stacks window''' - Shows call stack information for all the threads in the program** '''Parallel Watch window''' - Tracks the values produced by the multithreaded expression** '''Debug Location toolbar''' - Allows to manipulate threads and processes* '''Task parallelism'''** '''Parallel Stacks window ''' (discussed above)** '''Parallel Watch window ''' (discussed above)** '''Tasks window''' - Lists all the current parallel and scheduled tasks* '''GPU threads'''** '''GPU Threads window''' - Allows to work with the GPU threads* '''Processes'''** '''Attach to Process dialog box''' - Allows the developer to attach the VS debugger to the process, enables the process debugging** '''Processes window''' - Lists all the processes currently attached to the debugger** '''Debug Location toolbar ''' (discussed above)
== Basic Debugging Steps ==