2012-02-09 14:30:09 +01:00
|
|
|
import qbs.base 1.0
|
|
|
|
|
|
|
|
|
|
import "../QtcPlugin.qbs" as QtcPlugin
|
|
|
|
|
|
|
|
|
|
QtcPlugin {
|
|
|
|
|
name: "Debugger"
|
|
|
|
|
|
2012-04-10 15:56:23 +02: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: "symbianutils" }
|
|
|
|
|
Depends { name: "QmlJS" }
|
|
|
|
|
Depends { name: "QmlJSDebugClient" }
|
|
|
|
|
|
|
|
|
|
Depends { name: "cpp" }
|
|
|
|
|
cpp.defines: ["DEBUGGER_LIBRARY"]
|
|
|
|
|
cpp.includePaths: [
|
|
|
|
|
".",
|
|
|
|
|
"shared",
|
|
|
|
|
"lldb",
|
|
|
|
|
"..",
|
|
|
|
|
"../../libs",
|
|
|
|
|
"../../shared/json",
|
|
|
|
|
buildDirectory,
|
|
|
|
|
"../../libs/utils",
|
|
|
|
|
"../../shared/registryaccess/"
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
files: [
|
|
|
|
|
"breakcondition.ui",
|
|
|
|
|
"breakpoint.ui",
|
|
|
|
|
"debugger.qrc",
|
|
|
|
|
"attachcoredialog.ui",
|
|
|
|
|
"attachexternaldialog.ui",
|
|
|
|
|
"attachtoqmlportdialog.ui",
|
|
|
|
|
"basewindow.cpp",
|
|
|
|
|
"breakhandler.cpp",
|
|
|
|
|
"breakhandler.h",
|
|
|
|
|
"breakpoint.cpp",
|
|
|
|
|
"breakpoint.h",
|
|
|
|
|
"breakpointmarker.cpp",
|
|
|
|
|
"breakpointmarker.h",
|
|
|
|
|
"breakwindow.cpp",
|
|
|
|
|
"breakwindow.h",
|
|
|
|
|
"commonoptionspage.cpp",
|
|
|
|
|
"commonoptionspage.h",
|
|
|
|
|
"commonoptionspage.ui",
|
|
|
|
|
"debugger_global.h",
|
|
|
|
|
"debuggercore.h",
|
|
|
|
|
"debuggerdialogs.cpp",
|
|
|
|
|
"debuggerdialogs.h",
|
|
|
|
|
"debuggerengine.cpp",
|
|
|
|
|
"debuggerengine.h",
|
|
|
|
|
"debuggerinternalconstants.h",
|
|
|
|
|
"debuggermainwindow.cpp",
|
|
|
|
|
"debuggermainwindow.h",
|
|
|
|
|
"debuggerplugin.h",
|
|
|
|
|
"debuggerrunner.h",
|
|
|
|
|
"debuggersourcepathmappingwidget.cpp",
|
|
|
|
|
"debuggersourcepathmappingwidget.h",
|
|
|
|
|
"debuggerstartparameters.h",
|
|
|
|
|
"debuggerstreamops.cpp",
|
|
|
|
|
"debuggerstreamops.h",
|
|
|
|
|
"debuggerstringutils.h",
|
|
|
|
|
"debuggertoolchaincombobox.cpp",
|
|
|
|
|
"debuggertoolchaincombobox.h",
|
|
|
|
|
"debuggertooltipmanager.cpp",
|
|
|
|
|
"debuggertooltipmanager.h",
|
|
|
|
|
"disassembleragent.cpp",
|
|
|
|
|
"disassembleragent.h",
|
|
|
|
|
"disassemblerlines.cpp",
|
|
|
|
|
"disassemblerlines.h",
|
|
|
|
|
"dumperoptionpage.ui",
|
|
|
|
|
"logwindow.cpp",
|
|
|
|
|
"logwindow.h",
|
|
|
|
|
"memoryagent.cpp",
|
|
|
|
|
"memoryagent.h",
|
|
|
|
|
"memoryview.cpp",
|
|
|
|
|
"memoryview.h",
|
|
|
|
|
"moduleshandler.cpp",
|
|
|
|
|
"moduleshandler.h",
|
|
|
|
|
"moduleswindow.cpp",
|
|
|
|
|
"moduleswindow.h",
|
|
|
|
|
"name_demangler.cpp",
|
|
|
|
|
"name_demangler.h",
|
|
|
|
|
"outputcollector.cpp",
|
|
|
|
|
"outputcollector.h",
|
|
|
|
|
"procinterrupt.cpp",
|
|
|
|
|
"procinterrupt.h",
|
|
|
|
|
"qtmessagelogwindow.h",
|
|
|
|
|
"qtmessagelogeditor.h",
|
|
|
|
|
"qtmessagelogview.h",
|
|
|
|
|
"qtmessagelogproxymodel.h",
|
|
|
|
|
"qtmessagelogitemdelegate.h",
|
|
|
|
|
"qtmessageloghandler.h",
|
|
|
|
|
"qtmessagelogwindow.cpp",
|
|
|
|
|
"qtmessagelogproxymodel.cpp",
|
|
|
|
|
"qtmessagelogview.cpp",
|
|
|
|
|
"qtmessagelogitemdelegate.cpp",
|
|
|
|
|
"qtmessageloghandler.cpp",
|
|
|
|
|
"qtmessagelogeditor.cpp",
|
|
|
|
|
"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",
|
|
|
|
|
"stackframe.cpp",
|
|
|
|
|
"stackframe.h",
|
|
|
|
|
"stackhandler.cpp",
|
|
|
|
|
"stackhandler.h",
|
|
|
|
|
"stackwindow.cpp",
|
|
|
|
|
"stackwindow.h",
|
|
|
|
|
"startexternaldialog.ui",
|
|
|
|
|
"startremotedialog.ui",
|
|
|
|
|
"startremoteenginedialog.ui",
|
|
|
|
|
"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",
|
|
|
|
|
"basewindow.h",
|
|
|
|
|
"debuggeractions.cpp",
|
|
|
|
|
"debuggeractions.h",
|
|
|
|
|
"debuggerconstants.h",
|
|
|
|
|
"debuggerplugin.cpp",
|
|
|
|
|
"debuggerruncontrolfactory.h",
|
|
|
|
|
"debuggerrunner.cpp",
|
|
|
|
|
"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/gdb.qrc",
|
|
|
|
|
"gdb/abstractgdbadapter.cpp",
|
|
|
|
|
"gdb/abstractgdbadapter.h",
|
|
|
|
|
"gdb/abstractgdbprocess.cpp",
|
|
|
|
|
"gdb/abstractgdbprocess.h",
|
|
|
|
|
"gdb/abstractplaingdbadapter.cpp",
|
|
|
|
|
"gdb/abstractplaingdbadapter.h",
|
|
|
|
|
"gdb/attachgdbadapter.h",
|
|
|
|
|
"gdb/codagdbadapter.cpp",
|
|
|
|
|
"gdb/codagdbadapter.h",
|
|
|
|
|
"gdb/coregdbadapter.cpp",
|
|
|
|
|
"gdb/coregdbadapter.h",
|
|
|
|
|
"gdb/gdbengine.cpp",
|
|
|
|
|
"gdb/gdbmi.cpp",
|
|
|
|
|
"gdb/gdbmi.h",
|
|
|
|
|
"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/symbian.cpp",
|
|
|
|
|
"gdb/symbian.h",
|
|
|
|
|
"gdb/termgdbadapter.h",
|
|
|
|
|
"gdb/attachgdbadapter.cpp",
|
|
|
|
|
"gdb/classicgdbengine.cpp",
|
|
|
|
|
"gdb/gdbengine.h",
|
|
|
|
|
"gdb/gdboptionspage.cpp",
|
|
|
|
|
"gdb/termgdbadapter.cpp",
|
|
|
|
|
"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",
|
|
|
|
|
"pdb/pdbengine.cpp",
|
|
|
|
|
"pdb/pdbengine.h",
|
|
|
|
|
"qml/qmlengine.h",
|
|
|
|
|
"qml/qmladapter.h",
|
|
|
|
|
"qml/qmldebuggerclient.h",
|
|
|
|
|
"qml/qmljsprivateapi.h",
|
|
|
|
|
"qml/qmlcppengine.h",
|
|
|
|
|
"qml/qscriptdebuggerclient.h",
|
|
|
|
|
"qml/qmlv8debuggerclient.h",
|
|
|
|
|
"qml/interactiveinterpreter.h",
|
|
|
|
|
"qml/qmlv8debuggerclientconstants.h",
|
|
|
|
|
"qml/qmlengine.cpp",
|
|
|
|
|
"qml/qmladapter.cpp",
|
|
|
|
|
"qml/qmldebuggerclient.cpp",
|
|
|
|
|
"qml/qmlcppengine.cpp",
|
|
|
|
|
"qml/qscriptdebuggerclient.cpp",
|
|
|
|
|
"qml/qmlv8debuggerclient.cpp",
|
|
|
|
|
"qml/interactiveinterpreter.cpp",
|
|
|
|
|
"script/scriptengine.cpp",
|
|
|
|
|
"script/scriptengine.h",
|
|
|
|
|
"shared/backtrace.cpp",
|
|
|
|
|
"shared/backtrace.h",
|
|
|
|
|
"shared/cdbsymbolpathlisteditor.cpp",
|
|
|
|
|
"shared/cdbsymbolpathlisteditor.h",
|
|
|
|
|
"shared/hostutils.cpp",
|
|
|
|
|
"shared/hostutils.h",
|
|
|
|
|
"lldb/ipcenginehost.cpp",
|
|
|
|
|
"lldb/ipcenginehost.h",
|
|
|
|
|
"lldb/lldbenginehost.cpp",
|
|
|
|
|
"lldb/lldbenginehost.h"
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
Group {
|
|
|
|
|
condition: qbs.targetOS == "windows"
|
|
|
|
|
prefix: "../../shared/registryaccess/"
|
|
|
|
|
files: [
|
|
|
|
|
"registryaccess.cpp",
|
|
|
|
|
"registryaccess.h"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Group {
|
|
|
|
|
prefix: "../../shared/json/"
|
|
|
|
|
files: [
|
|
|
|
|
"json_global.h",
|
|
|
|
|
"json.cpp",
|
|
|
|
|
"json.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"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2012-03-21 19:35:34 +02:00
|
|
|
Properties {
|
|
|
|
|
condition: qbs.targetOS == "windows"
|
|
|
|
|
cpp.dynamicLibraries: [
|
|
|
|
|
"advapi32",
|
|
|
|
|
"ole32",
|
|
|
|
|
"shell32"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2012-02-09 14:30:09 +01:00
|
|
|
ProductModule {
|
|
|
|
|
cpp.includePaths: ["."]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|