Class VisualStudioDebugger
Implementation of ILemonEdgeDebugger for Visual Studio IDE
Implements
Inherited Members
Namespace: LemonEdge.DesktopTools.Debugger
Assembly: LemonEdge.DesktopTools.dll
Syntax
public class VisualStudioDebugger : ILemonEdgeDebugger
Constructors
VisualStudioDebugger(IProcessUtils, IDebugCheck)
Declaration
public VisualStudioDebugger(IProcessUtils processUtils, IDebugCheck debugCheck)
Parameters
Type | Name | Description |
---|---|---|
IProcessUtils | processUtils | |
IDebugCheck | debugCheck |
Methods
AttachToCurrentDebugSession(int)
Attaches the debugger to the current debugging session based on the specified process ID.
Declaration
public void AttachToCurrentDebugSession(int processId)
Parameters
Type | Name | Description |
---|---|---|
int | processId | The ID of the process to which the debugger should attach. |
AttachToCurrentDebugSessionAsync(string)
Attaches the debugger to the current debugging session based on the specified process name.
Declaration
public Task AttachToCurrentDebugSessionAsync(string processName)
Parameters
Type | Name | Description |
---|---|---|
string | processName | The name of the process to which the debugger should attach. |
Returns
Type | Description |
---|---|
Task |