aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debugger.qbs
blob: b67ccd5811d405be65dc7cd05c1f77117cd5c33c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
import qbs.base 1.0

import "../QtcPlugin.qbs" as QtcPlugin
import "../../../qbs/defaults.js" as Defaults

QtcPlugin {
    name: "Debugger"

    Depends { name: "Qt"; submodules: ["widgets", "network", "script"] }
    Depends { name: "Core" }
    Depends { name: "CppTools" }
    Depends { name: "Find" }
    Depends { name: "ProjectExplorer" }
    Depends { name: "TextEditor" }
    Depends { name: "CPlusPlus" }
    Depends { name: "QmlJS" }
    Depends { name: "QmlDebug" }
    Depends { name: "QtcSsh" }

    Depends { name: "cpp" }
    cpp.includePaths: base.concat([
        "shared",
        "lldb",
        "../../shared/json",
        "../../shared/registryaccess"
    ])

    Group {
        condition: Defaults.testsEnabled(qbs)
        qbs.install: true
        qbs.installDir: "tests/manual/debugger/simple/"
        files: ["../../../tests/manual/debugger/simple/simple.pro"]
    }

    files: [
        "basewindow.cpp",
        "basewindow.h",
        "breakhandler.cpp",
        "breakhandler.h",
        "breakpoint.cpp",
        "breakpoint.h",
        "breakpointmarker.cpp",
        "breakpointmarker.h",
        "breakwindow.cpp",
        "breakwindow.h",
        "commonoptionspage.cpp",
        "commonoptionspage.h",
        "debugger.qrc",
        "debugger_global.h",
        "debuggeractions.cpp",
        "debuggeractions.h",
        "debuggerconstants.h",
        "debuggercore.h",
        "debuggerdialogs.cpp",
        "debuggerdialogs.h",
        "debuggerengine.cpp",
        "debuggerengine.h",
        "debuggerinternalconstants.h",
        "debuggerkitconfigwidget.cpp",
        "debuggerkitconfigwidget.h",
        "debuggerkitinformation.cpp",
        "debuggerkitinformation.h",
        "debuggermainwindow.cpp",
        "debuggermainwindow.h",
        "debuggerplugin.cpp",
        "debuggerplugin.h",
        "debuggerprotocol.cpp",
        "debuggerprotocol.h",
        "debuggerruncontrolfactory.h",
        "debuggerrunner.cpp",
        "debuggerrunner.h",
        "debuggersourcepathmappingwidget.cpp",
        "debuggersourcepathmappingwidget.h",
        "debuggerstartparameters.h",
        "debuggerstreamops.cpp",
        "debuggerstreamops.h",
        "debuggerstringutils.h",
        "debuggertooltipmanager.cpp",
        "debuggertooltipmanager.h",
        "disassembleragent.cpp",
        "disassembleragent.h",
        "disassemblerlines.cpp",
        "disassemblerlines.h",
        "imageviewer.cpp",
        "imageviewer.h",
        "loadcoredialog.cpp",
        "loadcoredialog.h",
        "localsandexpressionsoptionspage.ui",
        "localsandexpressionswindow.cpp",
        "localsandexpressionswindow.h",
        "logwindow.cpp",
        "logwindow.h",
        "memoryagent.cpp",
        "memoryagent.h",
        "memoryview.cpp",
        "memoryview.h",
        "moduleshandler.cpp",
        "moduleshandler.h",
        "moduleswindow.cpp",
        "moduleswindow.h",
        "outputcollector.cpp",
        "outputcollector.h",
        "procinterrupt.cpp",
        "procinterrupt.h",
        "registerhandler.cpp",
        "registerhandler.h",
        "registerwindow.cpp",
        "registerwindow.h",
        "snapshothandler.cpp",
        "snapshothandler.h",
        "snapshotwindow.cpp",
        "snapshotwindow.h",
        "sourceagent.cpp",
        "sourceagent.h",
        "sourcefileshandler.cpp",
        "sourcefileshandler.h",
        "sourcefileswindow.cpp",
        "sourcefileswindow.h",
        "sourceutils.cpp",
        "sourceutils.h",
        "stackframe.cpp",
        "stackframe.h",
        "stackhandler.cpp",
        "stackhandler.h",
        "stackwindow.cpp",
        "stackwindow.h",
        "threaddata.h",
        "threadshandler.cpp",
        "threadshandler.h",
        "threadswindow.cpp",
        "threadswindow.h",
        "watchdata.cpp",
        "watchdata.h",
        "watchdelegatewidgets.cpp",
        "watchdelegatewidgets.h",
        "watchhandler.cpp",
        "watchhandler.h",
        "watchutils.cpp",
        "watchutils.h",
        "watchwindow.cpp",
        "watchwindow.h",
        "cdb/bytearrayinputstream.cpp",
        "cdb/bytearrayinputstream.h",
        "cdb/cdbengine.cpp",
        "cdb/cdbengine.h",
        "cdb/cdboptions.cpp",
        "cdb/cdboptions.h",
        "cdb/cdboptionspage.cpp",
        "cdb/cdboptionspage.h",
        "cdb/cdboptionspagewidget.ui",
        "cdb/cdbparsehelpers.cpp",
        "cdb/cdbparsehelpers.h",
        "gdb/abstractgdbprocess.cpp",
        "gdb/abstractgdbprocess.h",
        "gdb/abstractplaingdbadapter.cpp",
        "gdb/abstractplaingdbadapter.h",
        "gdb/attachgdbadapter.cpp",
        "gdb/attachgdbadapter.h",
        "gdb/classicgdbengine.cpp",
        "gdb/coregdbadapter.cpp",
        "gdb/coregdbadapter.h",
        "gdb/gdb.qrc",
        "gdb/gdbengine.cpp",
        "gdb/gdbengine.h",
        "gdb/gdboptionspage.cpp",
        "gdb/gdboptionspage.h",
        "gdb/localgdbprocess.cpp",
        "gdb/localgdbprocess.h",
        "gdb/localplaingdbadapter.cpp",
        "gdb/localplaingdbadapter.h",
        "gdb/pythongdbengine.cpp",
        "gdb/remotegdbprocess.cpp",
        "gdb/remotegdbprocess.h",
        "gdb/remotegdbserveradapter.cpp",
        "gdb/remotegdbserveradapter.h",
        "gdb/remoteplaingdbadapter.cpp",
        "gdb/remoteplaingdbadapter.h",
        "gdb/startgdbserverdialog.cpp",
        "gdb/startgdbserverdialog.h",
        "gdb/termgdbadapter.cpp",
        "gdb/termgdbadapter.h",
        "images/breakpoint_16.png",
        "images/breakpoint_24.png",
        "images/breakpoint_disabled_16.png",
        "images/breakpoint_disabled_24.png",
        "images/breakpoint_disabled_32.png",
        "images/breakpoint_pending_16.png",
        "images/breakpoint_pending_24.png",
        "images/debugger_breakpoints.png",
        "images/debugger_continue.png",
        "images/debugger_continue_32.png",
        "images/debugger_continue_small.png",
        "images/debugger_empty_14.png",
        "images/debugger_interrupt.png",
        "images/debugger_interrupt_32.png",
        "images/debugger_interrupt_small.png",
        "images/debugger_reversemode_16.png",
        "images/debugger_singleinstructionmode.png",
        "images/debugger_snapshot_small.png",
        "images/debugger_start.png",
        "images/debugger_start_small.png",
        "images/debugger_stepinto_small.png",
        "images/debugger_steponeproc_small.png",
        "images/debugger_stepout_small.png",
        "images/debugger_stepover_small.png",
        "images/debugger_stepoverproc_small.png",
        "images/debugger_stop.png",
        "images/debugger_stop_32.png",
        "images/debugger_stop_small.png",
        "images/location_16.png",
        "images/location_24.png",
        "images/tracepoint.png",
        "images/watchpoint.png",
        "lldb/ipcenginehost.cpp",
        "lldb/ipcenginehost.h",
        "lldb/lldbenginehost.cpp",
        "lldb/lldbenginehost.h",
        "namedemangler/demanglerexceptions.h",
        "namedemangler/globalparsestate.cpp",
        "namedemangler/globalparsestate.h",
        "namedemangler/namedemangler.cpp",
        "namedemangler/namedemangler.h",
        "namedemangler/parsetreenodes.cpp",
        "namedemangler/parsetreenodes.h",
        "pdb/pdbengine.cpp",
        "pdb/pdbengine.h",
        "qml/baseqmldebuggerclient.cpp",
        "qml/baseqmldebuggerclient.h",
        "qml/interactiveinterpreter.cpp",
        "qml/interactiveinterpreter.h",
        "qml/qmladapter.cpp",
        "qml/qmladapter.h",
        "qml/qmlcppengine.cpp",
        "qml/qmlcppengine.h",
        "qml/qmlengine.cpp",
        "qml/qmlengine.h",
        "qml/qmlinspectoradapter.cpp",
        "qml/qmlinspectoradapter.h",
        "qml/qmlinspectoragent.cpp",
        "qml/qmlinspectoragent.h",
        "qml/qmllivetextpreview.cpp",
        "qml/qmllivetextpreview.h",
        "qml/qmlv8debuggerclient.cpp",
        "qml/qmlv8debuggerclient.h",
        "qml/qmlv8debuggerclientconstants.h",
        "qml/qscriptdebuggerclient.cpp",
        "qml/qscriptdebuggerclient.h",
        "script/scriptengine.cpp",
        "script/scriptengine.h",
        "shared/backtrace.cpp",
        "shared/backtrace.h",
        "shared/cdbsymbolpathlisteditor.cpp",
        "shared/cdbsymbolpathlisteditor.h",
        "shared/hostutils.cpp",
        "shared/hostutils.h",
    ]

    Group {
        condition: qbs.targetOS == "windows"
        prefix: "../../shared/registryaccess/"
        files: [
            "registryaccess.cpp",
            "registryaccess.h",
        ]
    }

    Group {
        condition: qbs.targetOS == "windows"
        files: [
            "registerpostmortemaction.cpp",
            "registerpostmortemaction.h",
            "shared/peutils.cpp",
            "shared/peutils.h",
        ]
    }

    Group {
        condition: qbs.targetOS == "mac"
        files: [
            "lldb/lldboptionspage.cpp",
            "lldb/lldboptionspage.h",
            "lldb/lldboptionspagewidget.ui",
        ]
    }

    Properties {
        condition: qbs.targetOS == "windows"
        cpp.dynamicLibraries: [
            "advapi32",
            "ole32",
            "shell32"
        ]
    }

    ProductModule {
        Depends { name: "cpp" }
        Depends { name: "QtcSsh" }
        cpp.includePaths: ["."]
    }
}