File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed
cross-project-tests/debuginfo-tests/dexter
feature_tests/subtools/list-debuggers Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 28
28
from dex .debugger .visualstudio .VisualStudio2015 import VisualStudio2015
29
29
from dex .debugger .visualstudio .VisualStudio2017 import VisualStudio2017
30
30
from dex .debugger .visualstudio .VisualStudio2019 import VisualStudio2019
31
+ from dex .debugger .visualstudio .VisualStudio2022 import VisualStudio2022
31
32
32
33
33
34
def _get_potential_debuggers (): # noqa
@@ -41,6 +42,7 @@ def _get_potential_debuggers(): # noqa
41
42
VisualStudio2015 .get_option_name (): VisualStudio2015 ,
42
43
VisualStudio2017 .get_option_name (): VisualStudio2017 ,
43
44
VisualStudio2019 .get_option_name (): VisualStudio2019 ,
45
+ VisualStudio2022 .get_option_name (): VisualStudio2022 ,
44
46
}
45
47
46
48
Original file line number Diff line number Diff line change
1
+ # DExTer : Debugging Experience Tester
2
+ # ~~~~~~ ~ ~~ ~ ~~
3
+ #
4
+ # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5
+ # See https://llvm.org/LICENSE.txt for license information.
6
+ # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7
+ """Specializations for the Visual Studio 2022 interface."""
8
+
9
+ from dex .debugger .visualstudio .VisualStudio import VisualStudio
10
+
11
+
12
+ class VisualStudio2022 (VisualStudio ):
13
+ @classmethod
14
+ def get_name (cls ):
15
+ return "Visual Studio 2022"
16
+
17
+ @classmethod
18
+ def get_option_name (cls ):
19
+ return "vs2022"
20
+
21
+ @property
22
+ def _dte_version (self ):
23
+ return "VisualStudio.DTE.17.0"
Original file line number Diff line number Diff line change @@ -5,3 +5,5 @@ RUN: %dexter_base list-debuggers | FileCheck %s
5
5
CHECK: lldb
6
6
CHECK: vs2015
7
7
CHECK: vs2017
8
+ CHECK: vs2019
9
+ CHECK: vs2022
You can’t perform that action at this time.
0 commit comments