Commit Graph

117 Commits

Author SHA1 Message Date
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
hjk
a3923f8c24 debugger: re-enable "Delete all breakpoints" etc 2010-11-15 15:31:05 +01:00
Friedemann Kleint
30d6ae0e3d Debugger: Make CDB compile again. 2010-11-15 15:24:47 +01:00
hjk
956b54289e debugger: make BreakpointData and BreakpointResult proper value types 2010-11-15 14:12:34 +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
hjk
2161e0f6d9 debugger: refactoring of the plugin interface
There's  some 'external' and some 'internal' part now. Other plugins
are only supposed the external interface.
2010-11-10 12:08:23 +01:00
Arvid Ephraim Picciani
5f75e5979e Asynchronous breakpoint handling 2010-11-09 12:36:37 +01:00
hjk
8e62715130 debugger: move logical ownership of breakhandler from engines to plugin 2010-11-04 09:55:05 +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
2a569ce073 Clean up BreakPoint
Reviewed-by: Friedemann Kleint
Reviewed-by: hjk
2010-10-29 11:29:37 +02:00
Friedemann Kleint
7d35c50aa5 Debugger[Breakpoints]: Do not trigger reinserting breakpoint unless changed.
Add a menu option to edit breakpoints to the locator/editor context menu.

Reviewed-by: hjk
2010-10-06 10:32:36 +02:00
Friedemann Kleint
d5596bf169 Debugger: Remove unused 'precise breakpoints' setting.
Remove break window menu action to toggle 'Full path'.
Remove gdb setting 'Use full path'.
Clean up break dialog:
- Set PathChooser::ExpectedKind before value (showed up in red).
- Use PathChooser::setPath()/path() instead of lineedit text
- Return thread spec
- Add validator for ignorecount as for breakcondition.ui
Remove unused fields from breakcondition.ui

Reviewed-by: hjk
Task-number: QTCREATORBUG-2593
2010-10-04 16:04:38 +02:00
hjk
02657cc51d debugger: compile fix, remove dangling #include 2010-09-28 16:54:04 +02:00