Changes

Jump to: navigation, search

GPU621/Debugging OpenMP

1,406 bytes added, 01:00, 30 November 2022
no edit summary
// documentation for windows are here: https://learn.microsoft.com/en-us/visualstudio/debugger/debug-threads-and-processes?view=vs-2022
 
Primary tools include:
* Attach to Process Dialog
* Process Window
* Debug Location Bar
 
Tools in debugging threads include:
* Thread Windows
* Thread Markers in Source Windows
* Parallel Stacks Window
* Debug Location Toolbar
* Tasks Window
* GPU Threads Window
== Attach to Process Dialog Box ==
 
In Attach to Process Dialog Box, you can attach:
* Process name
* Session number
* Menubar Title
* Process ID number
* Type (Managed v4.0; Managed v2.0, v1.1, v1.0; x86; x64; IA64)
* User Name
 
Actions you can perform include Select a process to attach to, Select a remote computer, and Change transport type for connecting to remote computers
 
 
== Process Window ==
 
Processes you can attach include:
* Process Name
* Process ID number
* Path to process .exe
* Menubar Title
* State (Break. Running)
* Debugging (Native, Managed, and so on.)
* Transport type (default, native with no authentication)
* Transport Qualifier (remote computer)
 
Tools include:
* Attach
* Detach
* Terminate
== Thread Window ==
 
Thread Window is a tool in Visual Studio that allows you to manage and monitor your program's threads during debugging.
 
It can be set up by adding breakpoints in your program in order to examine it's activity.
 
This is done by right-clicking the desired line and choose the Breakpoint option.
 
**How to use breakpoints**
 
You can use this by going to Debug -> Windows -> Threads, or by pressing CTRL + ALT + H
 
This will allow the execution to stop at your breakpoints.
== Source Window ==
6
edits

Navigation menu