Skip to content

Commit b6113ae

Browse files
authored
Merge pull request #2519 from changeworld/patch-35
Delete unnecessary spaces
2 parents ab945f9 + 47dc0d7 commit b6113ae

File tree

1 file changed

+57
-57
lines changed

1 file changed

+57
-57
lines changed

docs/extensibility/debugger/reference/debug-reason.md

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -2,69 +2,69 @@
22
title: "DEBUG_REASON | Microsoft Docs"
33
ms.date: "11/04/2016"
44
ms.topic: "conceptual"
5-
f1_keywords:
5+
f1_keywords:
66
- "DEBUG_REASON"
7-
helpviewer_keywords:
7+
helpviewer_keywords:
88
- "DEBUG_REASON enumeration"
99
ms.assetid: ad2ee898-8648-4671-9078-d32873862346
1010
author: "gregvanl"
1111
ms.author: "gregvanl"
1212
manager: jillfra
13-
ms.workload:
13+
ms.workload:
1414
- "vssdk"
1515
---
1616
# DEBUG_REASON
17-
Specifies why the process was launched for debugging.
18-
19-
## Syntax
20-
21-
```cpp
22-
enum enum_DEBUG_REASON {
23-
DEBUG_REASON_ERROR = 0,
24-
DEBUG_REASON_USER_LAUNCHED = 1,
25-
DEBUG_REASON_USER_ATTACHED = 2,
26-
DEBUG_REASON_AUTO_ATTACHED = 3,
27-
DEBUG_REASON_CAUSALITY = 4
28-
};
29-
typedef DWORD DEBUG_REASON;
30-
```
31-
32-
```csharp
33-
public enum enum_DEBUG_REASON {
34-
DEBUG_REASON_ERROR = 0,
35-
DEBUG_REASON_USER_LAUNCHED = 1,
36-
DEBUG_REASON_USER_ATTACHED = 2,
37-
DEBUG_REASON_AUTO_ATTACHED = 3,
38-
DEBUG_REASON_CAUSALITY = 4
39-
};
40-
```
41-
42-
#### Parameters
43-
DEBUG_REASON_ERROR
44-
A non-specific error occurred (this is used as a default condition when none of the other reasons fit).
45-
46-
DEBUG_REASON_USER_LAUNCHED
47-
The process was launched at the user's request.
48-
49-
DEBUG_REASON_USER_ATTACHED
50-
The already-running process was attached to by the user.
51-
52-
DEBUG_REASON_AUTO_ATTACHED
53-
The process was automatically attached to when it was launched.
54-
55-
DEBUG_REASON_CAUSALITY
56-
The process was launched due to a *Just-In-Time* (JIT) debugging event.
57-
58-
## Remarks
59-
Returned from the [GetDebugReason](../../../extensibility/debugger/reference/idebugprocess3-getdebugreason.md) method.
60-
61-
## Requirements
62-
Header: msdbg.h
63-
64-
Namespace: Microsoft.VisualStudio.Debugger.Interop
65-
66-
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll
67-
68-
## See Also
69-
[Enumerations](../../../extensibility/debugger/reference/enumerations-visual-studio-debugging.md)
70-
[GetDebugReason](../../../extensibility/debugger/reference/idebugprocess3-getdebugreason.md)
17+
Specifies why the process was launched for debugging.
18+
19+
## Syntax
20+
21+
```cpp
22+
enum enum_DEBUG_REASON {
23+
DEBUG_REASON_ERROR = 0,
24+
DEBUG_REASON_USER_LAUNCHED = 1,
25+
DEBUG_REASON_USER_ATTACHED = 2,
26+
DEBUG_REASON_AUTO_ATTACHED = 3,
27+
DEBUG_REASON_CAUSALITY = 4
28+
};
29+
typedef DWORD DEBUG_REASON;
30+
```
31+
32+
```csharp
33+
public enum enum_DEBUG_REASON {
34+
DEBUG_REASON_ERROR = 0,
35+
DEBUG_REASON_USER_LAUNCHED = 1,
36+
DEBUG_REASON_USER_ATTACHED = 2,
37+
DEBUG_REASON_AUTO_ATTACHED = 3,
38+
DEBUG_REASON_CAUSALITY = 4
39+
};
40+
```
41+
42+
#### Parameters
43+
DEBUG_REASON_ERROR
44+
A non-specific error occurred (this is used as a default condition when none of the other reasons fit).
45+
46+
DEBUG_REASON_USER_LAUNCHED
47+
The process was launched at the user's request.
48+
49+
DEBUG_REASON_USER_ATTACHED
50+
The already-running process was attached to by the user.
51+
52+
DEBUG_REASON_AUTO_ATTACHED
53+
The process was automatically attached to when it was launched.
54+
55+
DEBUG_REASON_CAUSALITY
56+
The process was launched due to a *Just-In-Time* (JIT) debugging event.
57+
58+
## Remarks
59+
Returned from the [GetDebugReason](../../../extensibility/debugger/reference/idebugprocess3-getdebugreason.md) method.
60+
61+
## Requirements
62+
Header: msdbg.h
63+
64+
Namespace: Microsoft.VisualStudio.Debugger.Interop
65+
66+
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll
67+
68+
## See Also
69+
[Enumerations](../../../extensibility/debugger/reference/enumerations-visual-studio-debugging.md)
70+
[GetDebugReason](../../../extensibility/debugger/reference/idebugprocess3-getdebugreason.md)

0 commit comments

Comments
 (0)