Process4 Process4 Process4 Process4 Interface


The EnvDTE90s.Process4 object is used to examine and manipulate processes. The EnvDTE90.Process4 object supersedes the 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.

public interface class Process4 : EnvDTE90::Process3
public interface Process4 : EnvDTE90.Process3
type Process4 = interface
    interface Process3
Public Interface Process4
Implements Process3


See Process3.


Collection Collection Collection Collection

Gets a Processes collection that contains the object that supports this property or is contained within this code construct.

CommandLine CommandLine CommandLine CommandLine

Gets the command line that started the program being debugged in Visual Studio. This is a read-only property.

CurrentDirectory CurrentDirectory CurrentDirectory CurrentDirectory

Gets the current directory of the process being debugged. This is a read-only property.


Gets the top-level extensibility object, the DTE object.

EnvironmentVariables EnvironmentVariables EnvironmentVariables EnvironmentVariables

This read-only property returns an array that contains the environment variables defined for the process being debugged.

IsBeingDebugged IsBeingDebugged IsBeingDebugged IsBeingDebugged

Gets whether the current process is being debugged.

Modules Modules Modules Modules

Gets a collection of module objects associated with this process.

Name Name Name Name

Gets the name of the process.

Parent Parent Parent Parent

Gets the immediate parent object of a Process2 object.

ProcessID ProcessID ProcessID ProcessID

Gets the ID number assigned to this process.

Programs Programs Programs Programs

Gets a collection of Program objects.

Threads Threads Threads Threads

Gets the threads associated with this process.

Transport Transport Transport Transport

Gets the Transport being used to debug this process.

TransportQualifier TransportQualifier TransportQualifier TransportQualifier

Gets a computer name or an IP address.

UserName UserName UserName UserName

Gets the user name associated with this process.


Attach() Attach() Attach() Attach()

Causes the debugger to attach this process.

Attach2(Object) Attach2(Object) Attach2(Object) Attach2(Object)

Similar to EnvDTE90.Process4.Attach, causes the debugger to attach this process, only it allows you to specify an engine or set of engines.

Break(Boolean) Break(Boolean) Break(Boolean) Break(Boolean)

Causes the given process to pause its execution so that its current state can be analyzed.

Detach(Boolean) Detach(Boolean) Detach(Boolean) Detach(Boolean)

Causes the debugger to detach from this process.

Terminate(Boolean) Terminate(Boolean) Terminate(Boolean) Terminate(Boolean)

Terminates this process.

Applies to