David Schulz
a83d539551
Cdb: Introduce interface for python dumpers
...
Change-Id: I0ef2fd8a44232d65b0d772fd6c65230266d586a8
Reviewed-by: hjk <hjk@qt.io >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2016-10-07 06:40:20 +00:00
David Schulz
14c65ed6db
CdbExt: Add python scripting
...
Introducing the script extension command that allows
to run basic python code.
Change-Id: I356ca5408474be0206b1c77cf2a0ecf6640ec651
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2016-09-20 08:58:25 +00:00
David Schulz
1d0e1633c2
cdbext version bump
...
Change-Id: Ia7d0731cfcab545a7280dc1d5317d64a2e773893
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com >
2016-04-01 07:33:44 +00:00
Tobias Hunger
f72370f20a
Update License according to agreement with Free Qt Foundation
...
* Update remaining files in src
Change-Id: I1896f17fcf34f71c3310c87899fb5171b8e4afb1
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com >
2016-01-19 15:59:41 +00:00
hjk
c2bf384ac2
Debugger: Split DebuggerEncoding enum
...
... into a string specifying a kind of encoding (utf8, latin1),
an optional bytesize (2-byte integers, 4-byte integers) and a
flag whether the displayed value should get "..." around it.
Scales better than adding an enum value for each new combination.
Change-Id: Iffcb1e2f148f12da96e165559a976bd34026c649
Reviewed-by: David Schulz <david.schulz@theqtcompany.com >
2015-12-21 07:32:14 +00:00
hjk
55c77e4286
Debugger: Use hex instead of base64 encoding
...
... for transport of memory contents in CDB machinery.
Change-Id: Id29aa2a3008ec7e4fc9494ca9e26c4057f895663
Reviewed-by: David Schulz <david.schulz@theqtcompany.com >
2015-12-14 11:51:48 +00:00
David Schulz
ea8665c2e2
CdbExtension: Make sure watches group is initialized.
...
This fixes a crash that occurs when a debugger was started
without an active watch and a watch were added afterwards.
Change-Id: I0219a750bae7b433240b22f99b2e8fd8655ca331
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com >
2015-12-07 08:32:47 +00:00
David Schulz
1f2efb7012
Cdbext: version bump
...
Change-Id: I887a27bed62ec89f78130edb35527873643ea8af
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com >
2015-10-26 14:19:55 +00:00
David Schulz
2ce11e0b5a
Cdb: Unify local and watch handling.
...
Change-Id: Ic997136cc3b67b9f146e56d0b3ee2cb3140b6b10
Reviewed-by: hjk <hjk@theqtcompany.com >
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com >
2015-06-15 12:58:28 +00:00
David Schulz
20d5c1a826
Cdbext: Add option to return alphabetically sorted locals.
...
Change-Id: Ida0e8aec41bade10ad1e3ac517812a3a8c120473
Reviewed-by: David Schulz <david.schulz@theqtcompany.com >
Reviewed-by: hjk <hjk@theqtcompany.com >
2015-06-05 06:16:51 +00:00
David Schulz
b201c9be2b
Cdbext: version bump
...
Change-Id: I78655f7da3d414f80e7cdffb3e415549bc0a38ad
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com >
2015-03-11 07:32:01 +00:00
David Schulz
7db238c116
Cdbext: Discard old watches when syncing...
...
... to make sure everything is new evaluated.
Change-Id: I256e044e0095c0c4d2e4563474768ba2fdc3c85e
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com >
2015-03-06 14:13:48 +00:00
Sune Vuorela
d70bdaf450
Make Qt Creator build with -Werror=date-time
...
As a part of making the Qt Creator build reproducible, ensure that the
build time isn't by default encoded into the binaries.
Change-Id: I92bc3c2e832d5397bc1e2599214ef3ba911fed0b
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com >
2015-02-13 16:58:39 +00:00
Eike Ziller
9926fc2ab1
Merge commit '3c85058694ee2e41658d17f524fb48f0b187d2fe'
...
Conflicts:
src/libs/utils/tooltip/tipcontents.cpp
src/libs/utils/tooltip/tipcontents.h
src/plugins/android/androiddeployqtstep.cpp
src/plugins/baremetal/baremetalconstants.h
src/plugins/baremetal/baremetaldevice.cpp
src/plugins/baremetal/baremetaldevice.h
src/plugins/baremetal/baremetaldeviceconfigurationwidget.cpp
src/plugins/baremetal/baremetaldeviceconfigurationwidget.h
src/plugins/baremetal/baremetaldeviceconfigurationwizard.cpp
src/plugins/baremetal/baremetaldeviceconfigurationwizardpages.cpp
src/plugins/baremetal/baremetaldeviceconfigurationwizardpages.h
src/plugins/baremetal/baremetalplugin.cpp
src/plugins/baremetal/baremetalplugin.h
src/plugins/baremetal/baremetalruncontrolfactory.cpp
src/plugins/baremetal/baremetalruncontrolfactory.h
src/plugins/cppeditor/cppcodemodelinspectordialog.cpp
src/plugins/cppeditor/cppdoxygen_test.cpp
src/plugins/cppeditor/cppdoxygen_test.h
src/plugins/debugger/breakpointmarker.cpp
src/plugins/debugger/debuggeritemmodel.cpp
src/plugins/debugger/debuggeritemmodel.h
src/plugins/debugger/loadcoredialog.cpp
src/plugins/genericprojectmanager/cppmodelmanagerhelper.cpp
src/plugins/projectexplorer/addnewmodel.cpp
src/plugins/projectexplorer/addnewmodel.h
src/plugins/projectexplorer/jsonwizard/jsonfieldpage.cpp
src/plugins/qmlprofiler/abstracttimelinemodel.cpp
src/plugins/qmlprofiler/abstracttimelinemodel.h
src/plugins/qmlprofiler/notesmodel.cpp
src/plugins/qmlprofiler/qml/CategoryLabel.qml
src/plugins/qmlprofiler/qml/MainView.qml
src/plugins/qmlprofiler/qml/Overview.js
src/plugins/qmlprofiler/qml/Overview.qml
src/plugins/qmlprofiler/qml/TimeDisplay.qml
src/plugins/qmlprofiler/qml/TimeMarks.qml
src/plugins/qmlprofiler/qmlprofilertimelinemodelproxy.cpp
src/plugins/qmlprofiler/sortedtimelinemodel.cpp
src/plugins/qmlprofiler/sortedtimelinemodel.h
src/plugins/qmlprofiler/timelinemodelaggregator.cpp
src/plugins/qmlprofiler/timelinemodelaggregator.h
src/plugins/qmlprofiler/timelinerenderer.cpp
src/plugins/qmlprofiler/timelinerenderer.h
src/plugins/qmlprojectmanager/QmlProjectManager.json.in
src/plugins/texteditor/findinfiles.cpp
src/plugins/vcsbase/vcsconfigurationpage.cpp
src/shared/qbs
src/shared/scriptwrapper/interface_wrap_helpers.h
src/shared/scriptwrapper/wrap_helpers.h
tests/auto/qmlprofiler/abstracttimelinemodel/tst_abstracttimelinemodel.cpp
tests/system/suite_debugger/tst_debug_empty_main/test.py
tests/system/suite_debugger/tst_qml_js_console/test.py
tests/system/suite_debugger/tst_qml_locals/test.py
Change-Id: I67540b648f8b162496f4aa606b04d50c7c9125c6
2015-02-12 17:29:21 +01:00
Eike Ziller
3c85058694
Update License
...
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com >
2015-01-16 12:37:56 +01:00
Tim Jenssen
ff658ccc99
fix spelling commmand -> command
...
Change-Id: I293a3d2be055634c3fd798c4f344a6d77d50206c
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com >
2014-12-19 13:54:21 +01:00
David Schulz
84dd24e243
CdbExt: Version bump to 3.3
...
Change-Id: I168fb29bab905a9bfad427ab9ed6ebdf0067e28a
Reviewed-by: David Schulz <david.schulz@digia.com >
2014-10-23 12:52:50 +02:00
Eike Ziller
8295b503be
License update
...
Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com >
2014-10-09 11:41:44 +02:00
Friedemann Kleint
5189c990aa
Bump CDB extension version for 3.2.
...
Change-Id: I26a9277ae9d83057043e28a355a7646467118999
Reviewed-by: hjk <hjk121@nokiamail.com >
2014-07-15 09:45:28 +02:00
David Schulz
64c4779244
CdbExt: Make max array size configurable.
...
Change-Id: I1bbf028e94160701726afc6cad1f4f529287a451
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
2014-03-11 08:31:37 +01:00
Friedemann Kleint
437e593a87
CDB extension: Add qmlstack command and helpers.
...
Add a command that dumps the QML stack. It tries to find
the address of the JS execution context in a complete stack
trace and calls the exported function in QML to create the
trace from it.
Task-number: QTCREATORBUG-11144
Change-Id: I8fef5df2b33b95748e78d837aba703945eaeead9
Reviewed-by: David Schulz <david.schulz@digia.com >
2014-02-26 08:32:50 +01:00
Friedemann Kleint
51aca44aef
Bump CDB extension version.
...
Change-Id: If9cc4852f4070cc68b973e637b884fd6e592bf6d
Reviewed-by: hjk <hjk121@nokiamail.com >
2014-02-21 11:13:46 +01:00
Robert Loehning
746c5d8863
Incremented year in copyright info
...
Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com >
Reviewed-by: Kai Koehne <kai.koehne@digia.com >
2014-01-08 08:29:47 +01:00
Orgad Shaneh
4442a92729
Braces cleanup
...
Change-Id: I8413252c90a1487d291f15d92837c30ab697b245
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-11-14 08:13:52 +01:00
David Schulz
d597d79515
CdbExt: version bump
...
Change-Id: I3912bb9da93acd4474a15a6f6a8736e547e84ea1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
2013-10-23 09:55:22 +02:00
Leena Miettinen
5358ffe903
Doc: edit qtcreatorcdbext docs
...
Fix capitalization, use standard wording, and
fix some QDoc commands.
Change-Id: Ic2e6cfd43b9aa24d69b2703334c3dc6fb2331299
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-09-09 12:54:40 +02:00
David Schulz
a80bb5932a
Debugger: Set cdb extension version to 2.8
...
Change-Id: Idd62703c1c521cd2546beb11ae070c2a6de09066
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
2013-06-25 15:39:32 +02:00
Leena Miettinen
419c6de735
Doc: replace deprecated QDoc commands
...
The \i and \o commands were replaced with \li and
\bold was replaced with \b in QDoc for Qt 5.
The \input command was replaced with \include in the docs.
Change-Id: I257d1bebb8ebc739ca20e0d29fcf0406ecb14534
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com >
2013-02-06 09:44:18 +01:00
Oswald Buddenhagen
1fda2111d4
Merge remote-tracking branch 'origin/2.6'
...
Conflicts:
src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in
src/plugins/debugger/qtmessageloghandler.cpp
src/plugins/debugger/qtmessagelogwindow.cpp
src/plugins/madde/maemodeployconfigurationwidget.cpp
src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp
src/plugins/qmldesigner/designercore/include/widgetqueryview.h
src/plugins/qmldesigner/designercore/metainfo/metainfoparser.cpp
src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.cpp
src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.h
src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp
src/plugins/qnx/bardescriptormagicmatcher.h
src/plugins/qt4projectmanager/profilekeywords.cpp
src/plugins/remotelinux/deployablefilesperprofile.cpp
src/plugins/remotelinux/deployablefilesperprofile.h
src/plugins/remotelinux/deploymentinfo.cpp
src/plugins/remotelinux/deploymentsettingsassistant.cpp
src/plugins/remotelinux/profilesupdatedialog.cpp
tests/auto/icheckbuild/ichecklib.cpp
tests/auto/icheckbuild/parsemanager.cpp
tests/auto/icheckbuild/parsemanager.h
Change-Id: Ie465a578446a089e1c502d1cb1096e84ca058104
2013-01-31 16:25:33 +01:00
Friedemann Kleint
2970a036d8
CDB: Use maxStackDepth and implement reload full stack.
...
Task-number: QTCREATORBUG-7320
Change-Id: I78bf8cf63fa892f2a6771911333c246839439bf4
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-01-31 16:07:56 +01:00
Friedemann Kleint
72421c18c1
CDB: Pass settings maxStringLength and maxStackDepth to extension.
...
Change-Id: I602aa3758817026c8b4cbda1cc9fa9eff95fc691
Reviewed-by: hjk <hjk121@nokiamail.com >
2013-01-31 15:48:31 +01:00
Robert Loehning
298531e370
Incremented year in copyright info
...
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205
Reviewed-by: Kai Koehne <kai.koehne@digia.com >
2013-01-29 16:27:03 +01:00
Orgad Shaneh
29a93998df
Remove braces for single lines of conditions
...
#!/usr/bin/env ruby
Dir.glob('**/*.cpp') { |file|
# skip ast (excluding paste, astpath, and canv'ast'imer)
next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i
s = File.read(file)
next if s.include?('qlalr')
orig = s.dup
s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m|
res = $&
if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces
res
else
res.gsub!('} else', 'else')
res.gsub!(/\n +} *\n/m, "\n")
res.gsub(/ *{$/, '')
end
}
s.gsub!(/ *$/, '')
File.open(file, 'wb').write(s) if s != orig
}
Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc
Reviewed-by: hjk <qthjk@ovi.com >
2013-01-08 10:48:18 +01:00
Friedemann Kleint
99f542354a
CDB: Enable "Separate Window" format for standard strings.
...
- Always retrieve memory for std::strings.
- Enable type format.
Change-Id: I7bd00adbbeff0c4cc380b3ec078df408440302b4
Reviewed-by: hjk <qthjk@ovi.com >
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
2012-12-29 20:05:32 +01:00
Friedemann Kleint
5f04706a88
Implement basics for edit value handling in CDB.
...
- Add routine for formatting edit values.
- Optionally store memory in SymbolGroupNode (along
with special info) to be able to re-use it for
edit values using a simple convenience class
MemoryHandle.
- Prototypically implement QString and QByteArray / Qt 5.
Task-number: QTCREATORBUG-8344
Change-Id: I6d2cac7a1e9ac48e94335142c41dc1bfb984c515
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com >
2012-12-21 15:41:39 +01:00
Friedemann Kleint
8c8e7b4cbc
CDB: Fix module names in Qt 5.
...
Library naming convention was changed.
Increase version.
Change-Id: I01a7e49f6ffb0e4e78c25f9d9e117a2100dc7784
Reviewed-by: hjk <qthjk@ovi.com >
2012-12-13 11:08:23 +01:00
hjk
386ca7c8dd
Adjust license headers
...
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2012-10-05 17:12:56 +02:00
Friedemann Kleint
972399830a
Bump version of the CDB extension.
...
Change-Id: Ie7b86009f47b2bb3ae300d1496b3c22cce58f03d
Reviewed-by: hjk <qthjk@ovi.com >
2012-08-27 14:48:28 +02:00
Eike Ziller
e0e8cf3ada
Contact -> qt-project.org
...
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2012-07-19 13:23:21 +02:00
hjk
2931a499e6
Long live the king!
...
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-26 19:55:36 +01:00
hjk
31600758de
all: s/info@qt.nokia.com/qt-info@nokia.com/
...
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-11-03 10:33:19 +01:00
Friedemann Kleint
f63a969c8a
Debugger[CDB]: Fix setting individual formats by iname.
...
Do not hex-decode names.
Change-Id: I0b9b6df2524cdf66bc34958bbab5bbc28f8a73db
Reviewed-on: http://codereview.qt.nokia.com/3172
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-08-18 12:13:18 +02:00
Friedemann Kleint
8a28b3c01c
Debugger[CDB]: Dump Qt5's new QString, QByteArray classes.
...
Task-number: QTCREATORBUG-5475
Change-Id: Iee10910e55df8b8308711818da2847b09a52fe92
Reviewed-on: http://codereview.qt.nokia.com/1711
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-07-15 17:14:55 +02:00
Friedemann Kleint
581765055d
Debugger [CDB]: Enable Assignment to string classes.
...
Assign to QString/QByteArray following gdbmacros.py
implementation (call resize if required, copy data into buffer).
Assign to std::[w]string only it has sufficient memory
(since std::string<>.resize cannot be called).
2011-05-17 12:19:24 +02:00
Tobias Hunger
aa2acec14c
Fix/add copyright headers
...
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Oswald Buddenhagen
dc3c156cac
Merge branch '2.2'
...
Conflicts:
src/plugins/debugger/gdb/pythongdbengine.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h
src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h
src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
src/plugins/qt4projectmanager/qt4target.cpp
src/plugins/qt4projectmanager/qt4target.h
src/plugins/qt4projectmanager/qtoptionspage.h
src/plugins/qt4projectmanager/qtversionmanager.cpp
src/plugins/welcome/welcomemode.cpp
2011-04-14 12:39:31 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
con
1c2da511b9
Merge remote branch 'origin/2.2'
...
Conflicts:
src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
src/plugins/qt4projectmanager/qt-maemo/maemoglobal.h
src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/rvcttoolchain.h
2011-04-01 09:53:09 +02:00
Friedemann Kleint
bfcdd9c700
Debugger[CDB]: Fix CDB not showing QList<const char*>.
...
as it cannot determine the size of 'char const*' which it
reports as type.
Reviewed-by: hjk
Task-number: QTCREATORBUG-4253
2011-03-29 09:58:31 +02:00
Friedemann Kleint
0e89104b45
API Documentation: Fix warnings.
2011-03-28 14:58:12 +02:00