2012-02-09 14:30:09 +01:00
|
|
|
import qbs.base 1.0
|
|
|
|
|
|
|
|
|
|
import "../QtcPlugin.qbs" as QtcPlugin
|
2012-09-05 11:01:43 +02:00
|
|
|
import "../../../qbs/defaults.js" as Defaults
|
2012-02-09 14:30:09 +01:00
|
|
|
|
|
|
|
|
QtcPlugin {
|
|
|
|
|
name: "Debugger"
|
|
|
|
|
|
2012-06-19 15:36:27 +08:00
|
|
|
Depends { name: "Qt"; submodules: ["widgets", "network", "script"] }
|
2012-02-09 14:30:09 +01:00
|
|
|
Depends { name: "Core" }
|
|
|
|
|
Depends { name: "CppTools" }
|
2012-02-27 21:09:42 +02:00
|
|
|
Depends { name: "Find" }
|
2012-02-09 14:30:09 +01:00
|
|
|
Depends { name: "ProjectExplorer" }
|
|
|
|
|
Depends { name: "TextEditor" }
|
|
|
|
|
Depends { name: "CPlusPlus" }
|
|
|
|
|
Depends { name: "QmlJS" }
|
2012-04-18 12:06:10 +02:00
|
|
|
Depends { name: "QmlDebug" }
|
2012-05-18 10:49:35 +02:00
|
|
|
Depends { name: "QtcSsh" }
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2012-09-27 17:20:00 +02:00
|
|
|
cpp.includePaths: base.concat([
|
2012-02-09 14:30:09 +01:00
|
|
|
"shared",
|
2013-02-28 13:41:13 +01:00
|
|
|
"lldblib",
|
2012-02-09 14:30:09 +01:00
|
|
|
"../../shared/json",
|
2012-09-27 17:20:00 +02:00
|
|
|
"../../shared/registryaccess"
|
|
|
|
|
])
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2013-03-26 16:58:50 +01:00
|
|
|
pluginRecommends: [
|
|
|
|
|
"CppEditor"
|
|
|
|
|
]
|
|
|
|
|
|
2012-09-10 15:05:14 +02:00
|
|
|
Group {
|
2013-06-06 09:08:16 +02:00
|
|
|
name: "Tests"
|
2012-09-05 11:01:43 +02:00
|
|
|
condition: Defaults.testsEnabled(qbs)
|
2013-01-16 11:27:26 +01:00
|
|
|
qbs.install: true
|
2012-09-10 15:05:14 +02:00
|
|
|
qbs.installDir: "tests/manual/debugger/simple/"
|
|
|
|
|
files: ["../../../tests/manual/debugger/simple/simple.pro"]
|
|
|
|
|
}
|
|
|
|
|
|
2012-02-09 14:30:09 +01:00
|
|
|
files: [
|
|
|
|
|
"basewindow.cpp",
|
2012-09-30 13:50:31 +02:00
|
|
|
"basewindow.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"breakhandler.cpp",
|
|
|
|
|
"breakhandler.h",
|
|
|
|
|
"breakpoint.cpp",
|
|
|
|
|
"breakpoint.h",
|
|
|
|
|
"breakpointmarker.cpp",
|
|
|
|
|
"breakpointmarker.h",
|
|
|
|
|
"breakwindow.cpp",
|
|
|
|
|
"breakwindow.h",
|
|
|
|
|
"commonoptionspage.cpp",
|
|
|
|
|
"commonoptionspage.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"debugger.qrc",
|
2012-02-09 14:30:09 +01:00
|
|
|
"debugger_global.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"debuggeractions.cpp",
|
|
|
|
|
"debuggeractions.h",
|
|
|
|
|
"debuggerconstants.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"debuggercore.h",
|
|
|
|
|
"debuggerdialogs.cpp",
|
|
|
|
|
"debuggerdialogs.h",
|
|
|
|
|
"debuggerengine.cpp",
|
|
|
|
|
"debuggerengine.h",
|
|
|
|
|
"debuggerinternalconstants.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"debuggerkitconfigwidget.cpp",
|
|
|
|
|
"debuggerkitconfigwidget.h",
|
|
|
|
|
"debuggerkitinformation.cpp",
|
|
|
|
|
"debuggerkitinformation.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"debuggermainwindow.cpp",
|
|
|
|
|
"debuggermainwindow.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"debuggerplugin.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"debuggerplugin.h",
|
2013-01-24 10:38:40 +01:00
|
|
|
"debuggerprotocol.cpp",
|
|
|
|
|
"debuggerprotocol.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"debuggerruncontrolfactory.h",
|
2013-04-10 11:35:55 +02:00
|
|
|
"debuggerrunconfigurationaspect.cpp",
|
|
|
|
|
"debuggerrunconfigurationaspect.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"debuggerrunner.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"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",
|
2013-01-09 23:28:22 +02:00
|
|
|
"imageviewer.cpp",
|
|
|
|
|
"imageviewer.h",
|
2012-07-24 17:02:42 +02:00
|
|
|
"loadcoredialog.cpp",
|
|
|
|
|
"loadcoredialog.h",
|
2012-05-14 15:11:11 +02:00
|
|
|
"localsandexpressionsoptionspage.ui",
|
2012-05-14 16:09:12 +02:00
|
|
|
"localsandexpressionswindow.cpp",
|
|
|
|
|
"localsandexpressionswindow.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"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",
|
2013-01-24 16:33:17 +01:00
|
|
|
"sourceutils.cpp",
|
|
|
|
|
"sourceutils.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"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/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",
|
2012-09-30 13:50:31 +02:00
|
|
|
"gdb/attachgdbadapter.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"gdb/attachgdbadapter.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"gdb/classicgdbengine.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"gdb/coregdbadapter.cpp",
|
|
|
|
|
"gdb/coregdbadapter.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"gdb/gdb.qrc",
|
2012-02-09 14:30:09 +01:00
|
|
|
"gdb/gdbengine.cpp",
|
2012-09-30 13:50:31 +02:00
|
|
|
"gdb/gdbengine.h",
|
|
|
|
|
"gdb/gdboptionspage.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"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",
|
2012-07-27 00:17:12 +02:00
|
|
|
"gdb/startgdbserverdialog.cpp",
|
|
|
|
|
"gdb/startgdbserverdialog.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"gdb/termgdbadapter.cpp",
|
|
|
|
|
"gdb/termgdbadapter.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"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",
|
2013-03-25 14:52:23 +01:00
|
|
|
"lldb/lldbengine.cpp",
|
|
|
|
|
"lldb/lldbengine.h",
|
2013-02-28 13:41:13 +01:00
|
|
|
"lldblib/ipcenginehost.cpp",
|
|
|
|
|
"lldblib/ipcenginehost.h",
|
|
|
|
|
"lldblib/lldbenginehost.cpp",
|
|
|
|
|
"lldblib/lldbenginehost.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"namedemangler/demanglerexceptions.h",
|
|
|
|
|
"namedemangler/globalparsestate.cpp",
|
|
|
|
|
"namedemangler/globalparsestate.h",
|
|
|
|
|
"namedemangler/namedemangler.cpp",
|
|
|
|
|
"namedemangler/namedemangler.h",
|
|
|
|
|
"namedemangler/parsetreenodes.cpp",
|
|
|
|
|
"namedemangler/parsetreenodes.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"pdb/pdbengine.cpp",
|
|
|
|
|
"pdb/pdbengine.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"qml/baseqmldebuggerclient.cpp",
|
2012-04-18 12:06:10 +02:00
|
|
|
"qml/baseqmldebuggerclient.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"qml/interactiveinterpreter.cpp",
|
2012-02-09 14:30:09 +01:00
|
|
|
"qml/interactiveinterpreter.h",
|
|
|
|
|
"qml/qmladapter.cpp",
|
2012-09-30 13:50:31 +02:00
|
|
|
"qml/qmladapter.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"qml/qmlcppengine.cpp",
|
2012-09-30 13:50:31 +02:00
|
|
|
"qml/qmlcppengine.h",
|
|
|
|
|
"qml/qmlengine.cpp",
|
|
|
|
|
"qml/qmlengine.h",
|
2012-04-18 14:20:54 +02:00
|
|
|
"qml/qmlinspectoradapter.cpp",
|
|
|
|
|
"qml/qmlinspectoradapter.h",
|
|
|
|
|
"qml/qmlinspectoragent.cpp",
|
|
|
|
|
"qml/qmlinspectoragent.h",
|
|
|
|
|
"qml/qmllivetextpreview.cpp",
|
|
|
|
|
"qml/qmllivetextpreview.h",
|
2012-09-30 13:50:31 +02:00
|
|
|
"qml/qmlv8debuggerclient.cpp",
|
|
|
|
|
"qml/qmlv8debuggerclient.h",
|
|
|
|
|
"qml/qmlv8debuggerclientconstants.h",
|
|
|
|
|
"qml/qscriptdebuggerclient.cpp",
|
|
|
|
|
"qml/qscriptdebuggerclient.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
"shared/backtrace.cpp",
|
|
|
|
|
"shared/backtrace.h",
|
|
|
|
|
"shared/cdbsymbolpathlisteditor.cpp",
|
|
|
|
|
"shared/cdbsymbolpathlisteditor.h",
|
|
|
|
|
"shared/hostutils.cpp",
|
|
|
|
|
"shared/hostutils.h",
|
2013-03-07 09:29:26 +01:00
|
|
|
"shared/peutils.cpp",
|
|
|
|
|
"shared/peutils.h",
|
2013-04-30 07:25:42 -07:00
|
|
|
"shared/symbolpathsdialog.ui",
|
|
|
|
|
"shared/symbolpathsdialog.cpp",
|
|
|
|
|
"shared/symbolpathsdialog.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
Group {
|
2013-06-06 09:08:16 +02:00
|
|
|
name: "RegistryAccess"
|
2013-06-20 14:43:33 +02:00
|
|
|
condition: qbs.targetOS.contains("windows")
|
2012-02-09 14:30:09 +01:00
|
|
|
prefix: "../../shared/registryaccess/"
|
|
|
|
|
files: [
|
|
|
|
|
"registryaccess.cpp",
|
2012-09-30 13:50:31 +02:00
|
|
|
"registryaccess.h",
|
2012-02-09 14:30:09 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Group {
|
2013-06-06 09:08:16 +02:00
|
|
|
name: "RegisterPostMortem"
|
2013-06-20 14:43:33 +02:00
|
|
|
condition: qbs.targetOS.contains("windows")
|
2012-02-09 14:30:09 +01:00
|
|
|
files: [
|
|
|
|
|
"registerpostmortemaction.cpp",
|
|
|
|
|
"registerpostmortemaction.h",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Group {
|
2013-06-06 09:08:16 +02:00
|
|
|
name: "LLDBOptions"
|
2013-06-25 18:17:15 +02:00
|
|
|
condition: qbs.targetOS.contains("osx")
|
2012-02-09 14:30:09 +01:00
|
|
|
files: [
|
2013-02-28 13:41:13 +01:00
|
|
|
"lldblib/lldboptionspage.cpp",
|
|
|
|
|
"lldblib/lldboptionspage.h",
|
|
|
|
|
"lldblib/lldboptionspagewidget.ui",
|
2012-02-09 14:30:09 +01:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2012-03-21 19:35:34 +02:00
|
|
|
Properties {
|
2013-06-20 14:43:33 +02:00
|
|
|
condition: qbs.targetOS.contains("windows")
|
2012-03-21 19:35:34 +02:00
|
|
|
cpp.dynamicLibraries: [
|
|
|
|
|
"advapi32",
|
|
|
|
|
"ole32",
|
|
|
|
|
"shell32"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2013-05-24 15:58:33 +02:00
|
|
|
Export {
|
2012-04-18 17:02:20 +02:00
|
|
|
Depends { name: "cpp" }
|
2012-05-18 10:49:35 +02:00
|
|
|
Depends { name: "QtcSsh" }
|
2012-02-09 14:30:09 +01:00
|
|
|
cpp.includePaths: ["."]
|
|
|
|
|
}
|
|
|
|
|
}
|