Aurindam Jana
3c61cbb5df
Debugger: Change BreakpointOnSignalHandler to BreakpointOnQMLSignalHandler
...
Change-Id: Ic71299c38863cdb55862ced7348b2bdc9cf39555
Reviewed-on: http://codereview.qt-project.org/5743
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2011-09-30 16:19:17 +02:00
Aurindam Jana
f05683ac7e
JSDebugger: Enable break on events.
...
The user can request Javascript break on event. The user can provide
this info in the Breakpoints Window and provide the slot which will
be called when the event occurs. For example: specify "onTriggered" if
you need to break on Timer triggered event.
Change-Id: If936d7402f5978a182132fdcca75515588364e16
Reviewed-on: http://codereview.qt-project.org/4758
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2011-09-16 11:42:54 +02:00
hjk
73d3ef0ae6
debugger: only update location when the information gets better
...
The contents of the "original location" field is sometimes worse than
what we collected otherwise. Use it only if it points to a readable file.
Change-Id: I6c7229ead803e9f7970b8322f29469bfbe350b5d
Reviewed-on: http://codereview.qt.nokia.com/1072
Reviewed-by: hjk <qthjk@ovi.com >
2011-07-04 14:19:03 +02:00
hjk
885df811c4
debugger: don't duplicated "full name" information in break response
...
Less information to keep in sync.
Change-Id: Icd862bbf8965eefd8ea3ad17b6f574b1f85bb8d2
Reviewed-on: http://codereview.qt.nokia.com/1069
Reviewed-by: hjk <qthjk@ovi.com >
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
2011-07-04 13:46:14 +02:00
Friedemann Kleint
9e5bcf2f4b
Debugger [CDB]: Fix module resolution.
...
Use breakpoint id as response id to identify breakpoints
in reponse to 'list breakpoint' command.
Change-Id: I31686aef0193bf2e26e38482c7efebf294a358c4
Reviewed-on: http://codereview.qt.nokia.com/940
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: hjk <qthjk@ovi.com >
2011-06-30 12:07:22 +02:00
Friedemann Kleint
90ee1cc1c9
Debugger: Add infrastructure for message tracepoints.
...
Add context menu to add a 'message tracepoint', that is,
a trace point that outputs a user message and continues.
Intended to be a replacement for manually inserting
a qDebug() into the code to understand the call sequence.
Yet to be implemented for gdb.
Change-Id: I1c303001421fbbae74d98d15d52718579350db6e
Rubber-stamped-by: hjk
Reviewed-on: http://codereview.qt.nokia.com/756
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-06-27 10:42:50 +02:00
hjk
c041286753
debugger: split BreakpointIndex into plugin and debugger specific part
...
Change-Id: I21d10cf42eb039c74475e106537b6e107d155196
Reviewed-on: http://codereview.qt.nokia.com/745
Reviewed-by: hjk <qthjk@ovi.com >
2011-06-27 09:14:25 +02:00
hjk
c4713f5ab2
debugger: handle results of manual break commands
...
Change-Id: I0ab8ad3ef3ddfe7c8d69fd163864875190698475
Reviewed-on: http://codereview.qt.nokia.com/744
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: hjk <qthjk@ovi.com >
2011-06-27 09:12:12 +02:00
hjk
41df1fb2d3
debugger: rewrite parser for cli sub-breakpoint notifications
...
Change-Id: I971a2af2534bc650e8c604a5c2dc2e1846dbb045
Reviewed-on: http://codereview.qt.nokia.com/592
Reviewed-by: hjk <qthjk@ovi.com >
2011-06-22 12:23:46 +02:00
hjk
d647a6002e
debugger: display "sub-breakpoints"
...
<MULTIPLE> happens in constructors, inline functions, and
at other places like 'foreach' lines.
Change-Id: Ifb89b659d279f257ba8295b80a35d605820ec54b
Reviewed-on: http://codereview.qt.nokia.com/498
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: hjk <qthjk@ovi.com >
2011-06-20 11:34:22 +02:00
hjk
c620749b95
debugger: introduce watchpoint-by-expression
2011-05-09 09:04:55 +02:00
Tobias Hunger
aa2acec14c
Fix/add copyright headers
...
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Friedemann Kleint
312b31d587
Debugger: Fix editing breakpoint conditions.
2011-05-02 11:43:41 +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
hjk
7f34b5008b
febugger: prepare for saner handling of changed breakpoints
2011-03-29 14:57:41 +02:00
hjk
7f6b529a48
debugger: Merge 'fork' and 'vfork' breakpoints
...
Reviewed-by: Friedemann Kleint
2011-03-29 09:59:19 +02:00
hjk
bd35f599f9
debugger: code cosmetics, fix warnings
2011-03-22 10:24:33 +01:00
Friedemann Kleint
18074cccd2
Debugger: Improve breakpoint debug output.
2011-03-16 13:39:59 +01:00
hjk
2780ff6f22
debugger: refactor watch point lookup
...
In preparation of bitfield watch points.
2011-03-01 19:17:03 +01:00
Friedemann Kleint
73e9c5790b
Debugger: Change UseFullPath setting to an enumeration.
...
Introducing EngineDefault such that CDB/LLDB can use full paths
by default and gdb can use short paths.
Reviewed-by: hjk
2011-02-17 13:06:51 +01:00
Friedemann Kleint
4d46c69d25
Debugger: Documentation work on qtcreatorcdbext/Debugger.
...
Add comments, introduce internal switch in
doc/api/qtcreator-api.qdocconf.
2011-02-04 15:10:17 +01:00
Friedemann Kleint
59b2aac1c4
Debugger: Add 'command[s]' to breakpoints, polish BP dialogs.
...
Add commands (CDB, gdb with '\n' delimiter for multiple),
rearrange dialogs, make ignore count a spin box.
2011-02-04 11:37:01 +01:00
Friedemann Kleint
e612e6636b
Debugger: Add a module to breakpoint.
...
To speed up CDB, lldb. Add to dialogs, serialize.
Move breakpoint.ui into Debugger::Internal, add buddies.
Rubber-stamped-by: hjk
2011-02-02 14:41:14 +01:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
con
b1bcf081d8
Merge branch '2.1'
...
Conflicts:
src/plugins/coreplugin/basemode.cpp
src/plugins/coreplugin/basemode.h
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h
src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp
src/plugins/debugger/debuggeragents.cpp
src/plugins/debugger/debuggeruiswitcher.cpp
src/plugins/debugger/debuggeruiswitcher.h
src/plugins/projectexplorer/buildconfigdialog.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.h
src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h
src/plugins/qmldesigner/designercore/include/modelutilities.h
src/plugins/qmldesigner/designercore/include/nodeinstance.h
src/plugins/qmldesigner/designercore/include/propertymetainfo.h
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h
src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h
src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h
src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp
src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp
src/plugins/qmldesigner/designercore/model/modelutilities.cpp
src/plugins/snippets/inputwidget.cpp
src/plugins/snippets/snippetscompletion.cpp
src/plugins/snippets/snippetscompletion.h
src/plugins/snippets/snippetspec.cpp
src/plugins/snippets/snippetsplugin.cpp
src/plugins/snippets/snippetswindow.cpp
src/plugins/snippets/snippetswindow.h
src/plugins/texteditor/snippetsparser.cpp
src/tools/qml/qmldom/main.cpp
tests/manual/trk/runner.cpp
tests/manual/trk/trkolddevice.cpp
tests/manual/trk/trkolddevice.h
tests/manual/trk/trkserver.cpp
2010-12-17 17:00:53 +01:00
con
04e32b0049
License headers.
2010-12-17 16:03:42 +01:00
hjk
f0b6bce057
debugger: start with some infrastructure for tracepoint support
2010-12-16 13:35:41 +01:00
hjk
6e17e7a3ab
debugger: thread 0 is valid for cdb. so use -1 as 'any' value
2010-12-14 13:27:18 +01:00
hjk
d5c5b90b4f
debugger: make "threadspec" an int instead of a bytearray
2010-11-30 13:40:23 +01:00
hjk
2b80651d7b
debugger: less magic state transitions in the break handler
2010-11-30 13:40:23 +01:00
hjk
90657a496b
debugger: small usability fixes for dissassembler, breakpoint view, location
2010-11-24 15:55:45 +01:00
hjk
bf1f351f29
debugger: first step to re-enable breakpoint location update.
2010-11-18 12:31:26 +01:00
hjk
a9a9143b5d
debugger: replace BreakpointPending state with a flag in BreakpointResponse
...
To keep the breakpoint state machinery simple
2010-11-16 18:14:44 +01:00
hjk
d7a75dff9e
debugger: breakpoint code cosmetics
2010-11-16 12:43:17 +01:00
hjk
0a004097e1
debugger: remove intermediate BreakpointData stucture layer
2010-11-16 11:48:43 +01:00
hjk
694503cc76
debugger: looks like the BreakpointData layer is going to be unneeded.
2010-11-16 11:09:09 +01:00
hjk
76d2c58161
debugger: move marker filename and linenumber to BreakpointItem
2010-11-16 10:50:26 +01:00
Friedemann Kleint
29beabd5a4
Debugger: Handle throw/catch/main as BreakpointType enum values.
...
Remove BreakHandler::hasPendingBreakpoints, handle new types
in CDB and gdb. Start fixing Breakpoint-Dialog.
Add assignment of Breakpointresponse from BreakpointParameters.
Reviewed-by: hjk
2010-11-16 10:23:20 +01:00
Friedemann Kleint
af3d7fe3c8
Debugger: Initialize BreakpointParameters correctly.
2010-11-15 17:15:04 +01:00
Friedemann Kleint
9fc5970bdb
Debugger: Introduce BreakpointParameters as base struct.
...
For Breakpoint data manipulation.
Reviewed-by: hjk
2010-11-15 17:04:29 +01:00
hjk
0b32820a48
debugger: work on breakpoint enabling/disabling in gdb engine
2010-11-15 16:22:51 +01:00
hjk
482db08b00
debugger: move breakpoit tooltip from BreakpointData to BreakpointHandler
...
It also shows the response data.
2010-11-15 14:27:06 +01:00
hjk
956b54289e
debugger: make BreakpointData and BreakpointResult proper value types
2010-11-15 14:12:34 +01:00
hjk
b02c71e926
debugger: collect breakpoint related data in a single hash
2010-11-15 13:12:37 +01:00
hjk
8ae541b36f
debugger: Refactor breakpoint handling.
...
The breakpoints are now (fairly) tightly guarded by the BreakpointHandler.
Engines and Views are only supposed to refer to them by id. They also have
individual states now. The breakpoint data is split into a "user requested"
"fixed" part in BreakpointData and the engines' acknowledged data in a new
struct BreakpointResponse.
TODO: Move m_state and m_engine members to BreakpointResponse. Fix regressions
in the marker handling.
2010-11-15 12:09:25 +01:00
Arvid Ephraim Picciani
5f75e5979e
Asynchronous breakpoint handling
2010-11-09 12:36:37 +01:00
hjk
0afb34d5eb
debugger: refactor breakpoint type, add function name to resolved jsbreakpoints
2010-10-29 14:31:16 +02:00
Arvid Ephraim Picciani
746df870fd
Remove some unnessesary headers
2010-10-29 12:13:04 +02:00