Commit Graph

208 Commits

Author SHA1 Message Date
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
hjk
54fa13dd3c debugger: prevent double insertion of breakpoint markers
Change-Id: Ie5a8625ed2887831600f1835777f9f681b012f15
Reviewed-on: http://codereview.qt.nokia.com/794
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-27 18:01:55 +02:00
Christian Kandeler
5846005b62 Fix gcc warning.
Change-Id: I17560ff68542e99f882b2c0c315ea85b4729f19a
Reviewed-on: http://codereview.qt.nokia.com/758
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-27 13:10:42 +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
377668a0cf debugger: move updateMarker from BreakHandler to BreakpointItem
Change-Id: Ie3bafc8fc23cc95e0795d57dac956b3345e671dd
Reviewed-on: http://codereview.qt.nokia.com/748
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-27 09:21:30 +02:00
hjk
e41f11298b debugger: workaround for not-updated markers
Change-Id: Ic0bb344a117496dbada0ccef181a08f5b5bbbb8c
Reviewed-on: http://codereview.qt.nokia.com/747
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-27 09:14:51 +02:00
hjk
16fe673479 debugger: improve handling of subbreakpoints in gdb 7.2 and earlier
Change-Id: I6cd4c2a07544ea902798e2e4596bd56e634f15e3
Reviewed-on: http://codereview.qt.nokia.com/746
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-27 09:14:37 +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
ef9623d32f debugger: fix a case of "overcompensation" when correcting breakpoint lines
Change-Id: Idfca9513926004f5ab67c29838fc18c963a57a4b
Reviewed-on: http://codereview.qt.nokia.com/366
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-07 17:26:41 +02:00
hjk
cc2829fc6a debugger: update bp target line when editing file while engine running
Task-number: QTCREATORBUG-2314
Change-Id: If79f3aa70f932b82905351828b28fde42824c90e
Reviewed-on: http://codereview.qt.nokia.com/303
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-01 13:23:29 +02:00
hjk
f5601d7b1b debugger: derive breakpoint model from QAbstract*, not QTable*
Preparation for proper mulptiple breakpoint display
2011-05-11 16:25:09 +02:00
hjk
a2518b6db2 debugger: disable address related breakpoints on debugger exit 2011-05-11 15:24:50 +02:00
Friedemann Kleint
d58f0e7c75 Debugger[CDB]: Move breakpoint back from corrected location.
Make it fully work.

Task-number: QTCREATORBUG-4842
2011-05-11 12:19:31 +02:00
Friedemann Kleint
4871f81894 Debugger: Move breakpoint back from corrected location.
Reviewed-by: hjk
Rubber-stamped-by:

Task-number: QTCREATORBUG-3912
2011-05-10 17:13:33 +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
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
con
5b02bf94a8 Merge remote branch 'origin/2.2'
Conflicts:
	qtcreator.pri
	src/plugins/debugger/breakhandler.cpp
	src/plugins/qt4projectmanager/qtversionmanager.cpp
2011-04-18 13:57:07 +02:00
hjk
e57f547bfb debugger: silence debug output for unrecognized temporary breakpoints 2011-04-15 13:31:55 +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
ffe710e515 debugger: suppress warning triggered by temporary breakpoints 2011-03-24 12:39:23 +01:00
Friedemann Kleint
5c3596e935 L10n: tr()-Fixes. 2011-03-07 17:21:17 +01:00
hjk
c448402ada debugger: more details for special breakpoints in breakpoint view 2011-03-04 19:38:58 +01:00
hjk
822bbff157 debugger: add possibility to break on fork, vfork, exec, syscall 2011-03-04 19:26:11 +01:00
hjk
486c1ddb18 debugger: fix fallback path to the CLI break
The filenames have to be quoted differently.
2011-03-04 18:09:59 +01:00
hjk
ff9d32396e debugger: fix thinko 2011-03-02 14:15:00 +01:00
hjk
e7121d50d7 debugger: polish breakpoint locations
Task-number: QTCREATORBUG-3912
2011-03-02 13:38:03 +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
95a80c1291 Debugger: Enable deleting changed breakpoints in non-dbg state.
Do not start a synchronization if the breakpoint is not owned.
2011-02-17 13:49:47 +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
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
hjk
7a2fc35629 debugger: fix breakpoint markers in disassembler view
Task-number: QTCREATORBUG-3667
2011-02-02 17:28:58 +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
hjk
c736cc3c8d debugger: use 'maint print msymbols' to extract Qt's namespace
still racy
2011-01-19 14:07:51 +01:00
hjk
349ff0f1c7 debugger: disable the display of the breakpoint 'extra' field
Too distracting for now.
2011-01-14 17:09:18 +01:00
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
hjk
21df2cc843 debugger: let the manually corrected bp line number take precedence
Looks like the number from '-break-info' cannot be trusted, even if
'original-line' is present.
2011-01-06 16:44:04 +01:00
hjk
81701e080a debugger: do not write the 'all' (-1) threadspec to the session file
This confuses 2.1 which uses 0 as 'all' value.
2011-01-06 16:44:04 +01:00