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
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
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +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
hjk
4cba453a1e
debugger: let python handle the listing of breakpoints
...
TODO: only transfer deltas
2010-02-05 15:23:44 +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
hjk
ccd37a6655
debugger: make 'address column' in stack and breakpoint view optional
2009-10-01 11:42:04 +02:00
Friedemann Kleint
90470771fd
Debugger: Export DebuggerManager and DebuggerStartParameters.
...
For device debugging. Move both from namespace
Debugger::Internal to Debugger, export them, give
DebuggerManager a static instance().
2009-09-25 16:01:28 +02:00