Share via


Process2.Break Method

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

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Syntax

'Declaration
Sub Break ( _
    WaitForBreakMode As Boolean _
)
void Break(
    bool WaitForBreakMode
)
void Break(
    [InAttribute] bool WaitForBreakMode
)
abstract Break : 
        WaitForBreakMode:bool -> unit 
function Break(
    WaitForBreakMode : boolean
)

Parameters

  • WaitForBreakMode
    Type: System.Boolean
    Set to true to return only when the debugger has entered break mode. Set to false to break and return immediately. See Breaking Execution for more information.

Implements

Process.Break(Boolean)

.NET Framework Security

See Also

Reference

Process2 Interface

EnvDTE80 Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples