hjk
5209b396cd
debugger: make BreakHandler::setState private
2010-11-18 17:54:05 +01:00
hjk
abd7ab2cd5
debugger: fix some breakpoint state transitions in gdb engine
2010-11-18 16:16:23 +01:00
hjk
caa9a99228
debugger: stream line acknowledgement of breakpoint property changes
2010-11-18 16:08:10 +01:00
hjk
7ffa0927cf
debugger: better synchronize icon selection for editor and view marker
2010-11-18 15:48:17 +01:00
hjk
4943d19907
debugger: don't replicate response.fileName as markerFileName etc.
2010-11-18 13:38:58 +01:00
hjk
adba4c954c
debugger: remove breakpoint notification indirection through the engine
2010-11-16 18:20:52 +01:00
hjk
4e1452fd59
debugger: handle disabled breakpoints on debugger startup again
2010-11-16 18:14:44 +01:00
hjk
a9a9143b5d
debugger: replace BreakpointPending state with a flag in BreakpointResponse
...
To keep the breakpoint state machinery simple
2010-11-16 18:14:44 +01:00
hjk
fd8bf48b2b
debugger: start tightening the breakpoint state machinery
2010-11-16 17:09:55 +01:00
hjk
0a004097e1
debugger: remove intermediate BreakpointData stucture layer
2010-11-16 11:48:43 +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
hjk
76d2c58161
debugger: move marker filename and linenumber to BreakpointItem
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
0b32820a48
debugger: work on breakpoint enabling/disabling in gdb engine
2010-11-15 16:22:51 +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
7c337614a8
debugger: show disabled breakpoints again
2010-11-15 15:05:39 +01:00
hjk
482db08b00
debugger: move breakpoit tooltip from BreakpointData to BreakpointHandler
...
It also shows the response data.
2010-11-15 14:27:06 +01:00
hjk
956b54289e
debugger: make BreakpointData and BreakpointResult proper value types
2010-11-15 14:12:34 +01:00
hjk
b02c71e926
debugger: collect breakpoint related data in a single hash
2010-11-15 13:12:37 +01:00
hjk
069d4b30ee
debugger: tighten write accesss to BreakpointData
2010-11-15 12:21:43 +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
89eb27d231
debugger: remove some dead code
2010-11-10 14:36:53 +01:00
hjk
1afea78c7d
debugger: convert register handler/window architecture
2010-11-05 13:51:02 +01:00
hjk
8e62715130
debugger: move logical ownership of breakhandler from engines to plugin
2010-11-04 09:55:05 +01:00
Arvid Ephraim Picciani
2a569ce073
Clean up BreakPoint
...
Reviewed-by: Friedemann Kleint
Reviewed-by: hjk
2010-10-29 11:29:37 +02:00
hjk
cc0e37cec5
debugger: replace n breakpoint lists of which n-1 are invalid by a single one
2010-10-13 17:44:23 +02:00
Friedemann Kleint
90872c632d
Debugger[CDB]: Fix breakpoints.
...
Reviewed-by: hjk
Reviewed-by: aep <arvid.picciani@nokia.com >
Task-number: QTCREATORBUG-2612
2010-10-06 13:39:21 +02:00
Christiaan Janssen
24912c3f2e
QmlObserver: breakpoint list is shared between engines
...
Reviewed by: Kai Koehne, Andre Poenitz
2010-10-05 11:01:14 +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
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
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
4f4167a310
debugger: move BreakpointData into file of its own
2010-07-14 17:49:17 +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
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
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
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