Go to main content
Oracle® Developer Studio 12.6: Debugging a Program with dbx

Exit Print View

Updated: June 2017
 
 

Please tell us how to improve our documentation:


0 of 500

0 of 500



0 of 500
Thank you for your feedback! If you want to participate in content improvement and share additional information, please click Feedback button.
Rate this document:

Execution Sequence of OpenMP Code

When you are single-stepping inside a parallel region in an OpenMP program, the execution sequence might not be the same as the source code sequence. This difference in sequence occurs because the code in the parallel region is usually transformed and rearranged by the compiler. Single-stepping in OpenMP code is similar to single-stepping in optimized code where the optimizer has usually moved code around.