Skip to content

Commit 52aa6c5

Browse files
authored
Fix indent
1 parent 97e2224 commit 52aa6c5

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

docs/extensibility/debugger/reference/bp-location.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,27 @@ Specifies the type of structure used to describe the location of the breakpoint.
2020

2121
```cpp
2222
typedef struct _BP_LOCATION {
23-
BP_LOCATION_TYPE bpLocationType;
24-
union {
25-
BP_LOCATION_CODE_FILE_LINE bplocCodeFileLine;
26-
BP_LOCATION_CODE_FUNC_OFFSET bplocCodeFuncOffset;
27-
BP_LOCATION_CODE_CONTEXT bplocCodeContext;
28-
BP_LOCATION_CODE_STRING bplocCodeString;
29-
BP_LOCATION_CODE_ADDRESS bplocCodeAddress;
30-
BP_LOCATION_DATA_STRING bplocDataString;
31-
BP_LOCATION_RESOLUTION bplocResolution;
32-
DWORD unused;
33-
} bpLocation;
23+
BP_LOCATION_TYPE bpLocationType;
24+
union {
25+
BP_LOCATION_CODE_FILE_LINE bplocCodeFileLine;
26+
BP_LOCATION_CODE_FUNC_OFFSET bplocCodeFuncOffset;
27+
BP_LOCATION_CODE_CONTEXT bplocCodeContext;
28+
BP_LOCATION_CODE_STRING bplocCodeString;
29+
BP_LOCATION_CODE_ADDRESS bplocCodeAddress;
30+
BP_LOCATION_DATA_STRING bplocDataString;
31+
BP_LOCATION_RESOLUTION bplocResolution;
32+
DWORD unused;
33+
} bpLocation;
3434
} BP_LOCATION;
3535
```
3636
3737
```csharp
3838
public struct BP_LOCATION {
39-
public uint bpLocationType;
40-
public IntPtr unionmember1;
41-
public IntPtr unionmember2;
42-
public IntPtr unionmember3;
43-
public IntPtr unionmember4;
39+
public uint bpLocationType;
40+
public IntPtr unionmember1;
41+
public IntPtr unionmember2;
42+
public IntPtr unionmember3;
43+
public IntPtr unionmember4;
4444
};
4545
```
4646

@@ -112,10 +112,10 @@ namespace MyPackage
112112
{
113113
if (bp.bpLocationType == (uint)enum_BP_LOCATION_TYPE.BPLT_DATA_STRING)
114114
{
115-
IDebugThread2 pThread = (IDebugThread2)Marshal.GetObjectForIUnknown(bp.unionmember1);
116-
string context = Marshal.PtrToStringBSTR(bp.unionmember2);
117-
string dataExpression = Marshal.PtrToStringBSTR(bp.unionmember3);
118-
uint numElements = (uint)Marshal.ReadInt32(bp.unionmember4);
115+
IDebugThread2 pThread = (IDebugThread2)Marshal.GetObjectForIUnknown(bp.unionmember1);
116+
string context = Marshal.PtrToStringBSTR(bp.unionmember2);
117+
string dataExpression = Marshal.PtrToStringBSTR(bp.unionmember3);
118+
uint numElements = (uint)Marshal.ReadInt32(bp.unionmember4);
119119
}
120120
}
121121
}

0 commit comments

Comments
 (0)