Process4 Interface
The T:EnvDTE90s.Process4 object is used to examine and manipulate processes. The T:EnvDTE90.Process4 object supersedes the T:EnvDTE80.Process3, Process2, and Process objects. To use Debugger4, you must add a reference to EnvDTE90a.dll. For native development, you must add a reference to dte90a.tlb.
Assembly: EnvDTE90a (in EnvDTE90a.dll)
| Name | Description | |
|---|---|---|
![]() | Collection | Gets a Processes collection that contains the object that supports this property or is contained within this code construct. |
![]() | CommandLine | Gets the command line that started the program being debugged in Visual Studio. This is a read-only property. |
![]() | CurrentDirectory | Gets the current directory of the process being debugged. This is a read-only property. |
![]() | DTE | Gets the top-level extensibility object, the DTE object. |
![]() | EnvironmentVariables | This read-only property returns an array that contains the environment variables defined for the process being debugged. |
![]() | IsBeingDebugged | Gets whether the current process is being debugged. |
![]() | Modules | Gets a collection of module objects associated with this process. |
![]() | Name | Gets the name of the process. |
![]() | Parent | Gets the immediate parent object of a Process2 object. |
![]() | ProcessID | Gets the ID number assigned to this process. |
![]() | Programs | Gets a collection of Program objects. |
![]() | Threads | Gets the threads associated with this process. |
![]() | Transport | Gets the Transport being used to debug this process. |
![]() | TransportQualifier | Gets a computer name or an IP address. |
![]() | UserName | Gets the user name associated with this process. |
| Name | Description | |
|---|---|---|
![]() | Attach() | Causes the debugger to attach this process. |
![]() | Attach2(Object) | Similar to M:EnvDTE90.Process4.Attach, causes the debugger to attach this process, only it allows you to specify an engine or set of engines. |
![]() | Break(Boolean) | Causes the given process to pause its execution so that its current state can be analyzed. |
![]() | Detach(Boolean) | Causes the debugger to detach from this process. |
![]() | Terminate(Boolean) | Terminates this process. |

