Commit Graph

25 Commits

Author SHA1 Message Date
hjk
694503cc76 debugger: looks like the BreakpointData layer is going to be unneeded. 2010-11-16 11:09:09 +01:00
hjk
62c7a110ab debugger: code cosmetics 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
Friedemann Kleint
9fc5970bdb Debugger: Introduce BreakpointParameters as base struct.
For Breakpoint data manipulation.

Reviewed-by: hjk
2010-11-15 17:04:29 +01:00
hjk
0b32820a48 debugger: work on breakpoint enabling/disabling in gdb engine 2010-11-15 16:22:51 +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
Arvid Ephraim Picciani
5f75e5979e Asynchronous breakpoint handling 2010-11-09 12:36:37 +01:00
hjk
f1dabb16a3 debugger: introduce enum for breakpoint states 2010-11-08 18:00:57 +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
hjk
d0848ee29a debugger: fix breakpoint cleanup to allow subsequent runs
Reviewed-by: Friedemann Kleint
2010-10-05 16:06:41 +02:00
Friedemann Kleint
8d6f67f594 Debugger: List break on catch/throw as such and map names in engine.
Introduce special setting 'Stop on exception' for CDB.
Reviewed-by: hjk
2010-09-28 16:42:21 +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
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
40bb503219 debugger: re-adjust 'moved' breakpoints after debugging finished 2010-07-20 14:02:58 +02:00
hjk
4f4167a310 debugger: move BreakpointData into file of its own 2010-07-14 17:49:17 +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
6c0b947ec1 debugger: first shot a implementing data watchpoints 2010-05-07 15:17:11 +02:00