Open main menu

CDOT Wiki β

Changes

GPU621/Group 2

No change in size, 17:26, 23 February 2023
m
Debugging single-threaded V.S. multithreaded programs
The existence of multiple threads enables a process to separate work to be performed in parallel.
== Debugging singleSingle-threaded V.S. multithreaded programs Multi-threaded Programs ==
Debugging usually occurs on a single threaded program by pausing the execution at a specific line of code. While the execution is paused, the values of all the variables can be inspected. This can be helpful to closely view what is occurring between each line of code.
Debugging a multithreaded program is different from debugging a single threaded program because each thread has its own sequence of execution, meaning that the point that the execution is paused at can vary for each thread.
= OpenMP Debugging in Visual Studio =
33
edits