Commit Graph

81 Commits

Author SHA1 Message Date
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
b8d5f256a0 debugger: add missing 'Use full path' toggle in recently added 'Add Breakpoints' dialog
Reviewed-by: Friedemann Kleint
2010-09-28 13:15:36 +02:00
hjk
718433d27e debugger: add a somewhat more generic breakpoint creation dialog 2010-09-21 16:33:14 +02:00
Friedemann Kleint
332889aec2 Debugger: Sanitize Datatypes, part 1: Breakpoints.
Make address a quint64, linnumber and ignoreCounts int.

Reviewed-by: hjk
2010-09-21 14:26:45 +02:00
Friedemann Kleint
f7b19f8114 Debugger: Move DebuggerEngine/QmlEngine/QmlCppEngine into Debugger{}
namespace (from Debugger::Internal) as they are exported classes.
Introduce private classes to avoid exposing private JS debugger
headers.
2010-09-13 13:30:35 +02:00
hjk
7528b3b022 debugger: fix editing of breakpoint conditions 2010-09-08 12:18:04 +02:00
hjk
15fc9396b5 debugger: allow breakpoint removal also at the original position, not the "acknolegdged" one
Task-number: QTCREATORBUG-2264
2010-09-08 09:54:40 +02:00
hjk
18d14b5367 debugger: remove unused code. 2010-09-08 09:10:05 +02:00
hjk
6f0a50beef debugger: synchronize breakpoints also at enable/disable operations
Task-number: QTCREATORBUG-2272
2010-09-08 08:16:44 +02:00
hjk
b4ce60b193 debugger: show pending breakpoints using there original icon
The 'eye' was for debugging only. Seems to be stable now.
2010-09-01 17:19:55 +02:00
hjk
2effcaeb2e debugger: tell engine about removed breakpoints 2010-08-12 15:39:12 +02:00
hjk
4f4167a310 debugger: move BreakpointData into file of its own 2010-07-14 17:49:17 +02:00
hjk
bcd2146db1 debugger: don't stop at disabled breakpoints in script engine 2010-07-07 13:26:32 +02:00
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