Aurindam Jana
32ef6c563d
V8DebuggerClient: Enable breakpoints on Exceptions
...
Previously break on exceptions was always enabled. Now, the user
can add a breakpoint on Javascript Exceptions from the breakpoint
window in the debugger.
Change-Id: Ia9ee813d2fccf89b607fe1dcbad47b4084155a48
Reviewed-on: http://codereview.qt-project.org/6348
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2011-10-11 11:25:34 +02:00
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
hjk
2e9fd40d86
debugger: use common baseclass for all dock treeviews
...
Reduces amount of boilerplate code.
Change-Id: I048d901b4b80860df05f09b48650ea58b83fbc66
Reviewed-on: http://codereview.qt-project.org/5864
Reviewed-by: hjk <qthjk@ovi.com >
2011-09-30 12:31:29 +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
4b3890ee54
debugger: remove dead code
...
Change-Id: I1b06ed78d3942607543a0b18eba8c369c15d5e22
Reviewed-on: http://codereview.qt.nokia.com/4085
Reviewed-by: hjk <qthjk@ovi.com >
2011-09-01 15:49:09 +02:00
hjk
0c3743bb56
debugger: use saved "resize columns to contents" settings
...
Change-Id: I88d50205d6ba626e0b4bf66879271fafab81e8cb
Reviewed-by: con
Task-number: QTCREATORBUG-5320
Reviewed-on: http://codereview.qt.nokia.com/1379
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-07-08 16:10:33 +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
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
ae730dbe7c
debugger: remove spurious parantheses in user visible string
2011-05-11 14:43:28 +02:00
hjk
e8496ca33f
debugger: work on watchpoints (or, "data breakpoints" as they are called now)
2011-05-10 15:58:11 +02:00
hjk
a4c8602821
debugger: "Add breakpoint" dialog cosmetics
2011-05-09 09:12:16 +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
1ae9679c40
Debugger: Separate internal constants.
2011-04-21 15:52:51 +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
Jarek Kobus
c688a39b91
Update source strings
...
Reviewed-by: Pawel Polanski
2011-03-30 15:59:50 +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
82b7e9befd
debugger: persist 'AlwaysAdjust*ColumnWidths' settings
...
Task-number: QTCREATORBUG-2836
2011-03-16 18:49:01 +01:00
hjk
822bbff157
debugger: add possibility to break on fork, vfork, exec, syscall
2011-03-04 19:26:11 +01:00
Friedemann Kleint
88f333267f
Fix Krazy code scanning tool warnings (QString, loops, spelling).
2011-02-25 15:28:01 +01:00
Friedemann Kleint
43c980e6a3
Debugger: Make tracepoints a capability.
2011-02-21 13:20:16 +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
hjk
d6c870e90e
debugger: show more detail for "special" breakpoints in breakwindow
...
main/throw/catch
2011-02-14 13:56:18 +01:00
Friedemann Kleint
0824a12879
Debugger: Make breakpoint capabilities more fine-grained.
...
Diffentiate between different condition parts in Breakpoint dialog.
Fix up 3a100e8d7c for CDB.
2011-02-07 11:27:30 +01:00
Friedemann Kleint
3a100e8d7c
Debugger: Make breakpoint capabilities more fine-grained.
...
Handle in editBreakpoint().
Acked-by: hjk
2011-02-07 11:05:30 +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
c6d4ff531f
Debugger: Fix breakpoint dialog.
...
Update model once a breakpoint is added, set initial
state of dialog.
2011-02-04 09:11:24 +01:00
Friedemann Kleint
91ead6c818
Debugger[CDB]: Refactor breakpoint handling.
...
Add a command to list breakpoints enabling id access.
Implemented breakpoint handling similar to gdb using breakpoint
ids (no longer delete and re-set all breakpoints on a change).
Save the module that is reported back in the session so that
it can be re-used for the next start. Keep a per-debugger-session
cache of fileName->Module for adding breakpoints to accelerate
setting breakpoints in the same file.
Polish the breakpoint tooltip.
2011-02-03 16:26:23 +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
Friedemann Kleint
a7eccce733
Debugger: Header cleanup
2011-01-10 10:14:23 +01:00
hjk
4dea6f2169
debugger: add a 'ConditionPart' block to the breakpoint settings
2011-01-04 13:57:35 +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
2e4ba82be2
debugger: adjust sizes of some well-known columns in some views
2010-12-17 13:54:48 +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
cf154b3bc3
debugger: make breakpoint enables state visible in the breakpoint dialog
2010-11-30 08:59:58 +01:00
hjk
6154c2ddb9
debugger: code cosmetics
2010-11-25 15:03:02 +01:00
hjk
90657a496b
debugger: small usability fixes for dissassembler, breakpoint view, location
2010-11-24 15:55:45 +01:00
Friedemann Kleint
3a7f7b6d4a
Debugger/BreakpointDialog: Show only data applicable to type.
...
Clear controls that are not applicable to type, but save
and restore their value once the type is again choosen.
2010-11-16 11:42:20 +01:00
hjk
694503cc76
debugger: looks like the BreakpointData layer is going to be unneeded.
2010-11-16 11:09:09 +01:00
hjk
3cf3f14d7f
debugger: more breakpoint refactoring
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
hjk
f9cd211d29
debugger: fix setting of breakpoint types on session loading
2010-11-15 17:26:07 +01:00