Commit Graph

268 Commits

Author SHA1 Message Date
con
ede2a7c975 Merge remote branch 'origin/2.0'
Conflicts:
	doc/qtcreator.qdoc
	share/qtcreator/gdbmacros/dumper.py
	src/libs/qmljs/qmljs-lib.pri
	src/plugins/debugger/breakhandler.cpp
	src/plugins/projectexplorer/projectexplorer.h
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.h
2010-06-30 14:25:09 +02:00
hjk
2bdf10ce10 debugger: reenable disabling of breakpoints in editor context menu 2010-06-25 17:38:25 +02:00
hjk
f3d38de913 debugger: fix breakpoint toggling of "moved" breakpoints 2010-06-25 17:38:25 +02:00
hjk
03be40ddcd debugger: remove unused code 2010-06-25 14:38:44 +02:00
Robert Loehning
11a08a250a Commented switch to avoid warning from MSVC.
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2010-06-25 12:57:03 +02:00
hjk
6493b4853d debugger: adjust loading/saving of watched expressions to recent changes 2010-06-25 10:21:39 +02:00
hjk
fadac8009c debugger: more breakpoint management related fixes 2010-06-22 15:37:27 +02:00
hjk
c5c0dc76a0 debugger: restore session breakpoints if RunControl finishes 2010-06-22 15:14:44 +02:00
hjk
b01a622fa3 debugger: properly clone breakpoints 2010-06-22 14:52:50 +02:00
hjk
6a6cba5518 debugger: The DebuggerEngine refactoring.
This replaces the (de facto) singleton engines and data handlers by classes
that are instantiated per run. The DebuggerRunControl will now create an
object of (a class derived from) DebuggerEngine that contains all the relevant
"dynamic" data.

DebuggerManager is no more. The "singleton" bits are merged into DebuggerPlugin,
whereas the data bits went to DebuggerEngine.

There is no formal notion of a "current" DebuggerEngine. However, as there's
only one DebuggerEngine at a time that has its data models connected to the
view, there's still some "de facto" notion of a "current" engine. Calling
SomeModel::setData(int role, QVariant data) with custom role is used as the
primary dispatch mechanism from the views to the "current" data models
(and the engine, as all data models know their engine).
2010-06-22 10:59:57 +02:00
hjk
3b4b2c3ef6 debugger: fix variable initialization 2010-06-11 10:44:29 +02:00
Bill King
9e7d91a519 Fix missing breaks which lead to invalid fallthroughs. 2010-06-11 13:39:47 +10:00
Robert Loehning
e2e495a116 Debugger: Enabled removing watchpoints using context menu 2010-05-20 20:25:54 +02:00
Robert Loehning
e40c28cc2f Debbuger: Checking menu action if watchpoint is set 2010-05-20 19:49:52 +02:00
Friedemann Kleint
9af9c91f93 Debugger/WatchWindow: Add menu options to show pointed to addresses.
Change the WatchWindow handling to be based on quint64 addresses to
ensure proper function. Changed roles and added one role to the
watchmodel to obtain addresses and pointed-to addresses. Add some
fiddling to parse out addresses from debugger values.
Add menu options. Make sure only one watchpoint per address is added.
2010-05-19 17:34:47 +02:00
hjk
d8318a9502 debugger: refactor breakpoint handling
Use BreakpointData objects for communicaition instead of random
collection of some of their attributes.
2010-05-17 15:41:59 +02:00
hjk
3795539e0a debugger: fix scheduling of deletion of data watch points 2010-05-10 15:39:41 +02:00
hjk
01aabbda82 debugger: rename some breakpoint related functions 2010-05-10 15:39:41 +02:00
hjk
6c0b947ec1 debugger: first shot a implementing data watchpoints 2010-05-07 15:17:11 +02:00
hjk
24d1fbd15b debugger: support for per-thread breakpoints 2010-04-30 13:41:19 +02:00
hjk
a795c69325 debugger: more breakpoint refactoring 2010-04-12 12:02:16 +02:00
hjk
239e4ca507 debugger: move toggleBreakpoint() from DebuggerManager to DebuggerPlugin 2010-04-09 15:58:17 +02:00
hjk
d4aed1ae24 debugger: refactoring of breakpoint creation 2010-04-09 15:32:33 +02:00
hjk
4eb83cd8b2 debugger: basic support for address-based breakpoints 2010-04-09 15:32:33 +02:00
hjk
0f1b718359 debugger: move breakpoint marker to the line where the breakpoint will be
actually hit
2010-03-26 10:29:58 +01:00
hjk
1883baa56e debuggger: code cosmetics 2010-03-26 10:29:58 +01:00
con
ab74d23848 Avoid pulling in the svg plugin. 2010-03-05 16:03:31 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
hjk
d7745b3c43 debugger: remove accidentally checked-in debugging code 2010-02-11 18:08:33 +01:00
hjk
47fa65be6c debugger: some basic support for 'catch catch' and 'catch throw'
Hidden in the Breakpoints context menu.
2010-02-11 17:46:05 +01:00
hjk
43265dd221 debugger: re-introduce reminder 2010-02-11 10:52:25 +01:00
Friedemann Kleint
28d72550d3 Removed static QIcon instances.
thus fixing the exit warning:
"~QX11PixmapData(): QPixmap objects must be destroyed..."

Acked-by: con
2010-02-10 10:47:34 +01:00
Thomas Hartmann
cbf4f1f0b9 QmlDesigner.propertyEditor: renaming Clips to Clips content (Nigel) 2010-02-04 13:18:44 +01:00
Thomas Hartmann
851984cab5 QmlDesigner: new resources (images) 2010-02-04 13:08:04 +01:00
hjk
70a948abf5 debugger: remove standalone option 2010-02-04 10:38:11 +01:00
Oswald Buddenhagen
75b42f18d8 Merge remote branch 'origin/1.3'
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
Oswald Buddenhagen
a6ca348636 remove trailing whitespace
doing it in 1.3 as well to avoid possible later conflicts
2010-01-29 21:33:57 +01:00
hjk
fa2f73aa0d debugger: add some helper function to debug breakpoints 2010-01-21 17:19:08 +01:00
hjk
e3712f9687 debugger: refactoring, use QByteArray instead of QString when appropriate 2010-01-05 18:13:24 +01:00
Friedemann Kleint
119ea80735 Debugger: Ignore case of file name in breakpoint handling on Windows.
Task-number: QTCREATORBUG-438
2009-12-15 10:21:02 +01:00
hjk
ccd37a6655 debugger: make 'address column' in stack and breakpoint view optional 2009-10-01 11:42:04 +02:00
hjk
46952c04eb act on http://bugreports.qt.nokia.com/browse/QTCREATORBUG-123 2009-09-23 16:11:25 +02:00
hjk
a40f5564d0 debugger: formatting 2009-09-15 12:10:15 +02:00
hjk
e82d6c7b05 debugger: create a disassembler view as main editor
"Stepping instruction wise" and "display disassembler" mode is now toggled by a
single action. This also allows to re-use F10 and F11 as keyboard shortcut.

Missing: caching of disassembler output, removal of old disassembler view.
2009-08-17 13:18:54 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Friedemann Kleint
e8dafc28a5 Improve error logging of CDB breakpoint setting.
Output warnings to debugger log. Prevent breakpoints from
being set several times when loading session data by
clearing the complete break handler.
Reviewed-by: hjk <qtc-committer@nokia.com>
2009-06-30 15:50:56 +02:00
Oswald Buddenhagen
34197e361b make the bounds check in BreakpointHandler::at() an assert 2009-06-23 11:44:52 +02:00
Oswald Buddenhagen
283ceee01b reset all variables in resetBreakpoints() 2009-06-23 11:44:52 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
hjk
93ab95bc99 debugger: let the breakpoint view handle multiple items at once 2009-06-11 13:41:19 +02:00