Commit Graph

175 Commits

Author SHA1 Message Date
hjk
ff9d32396e debugger: fix thinko 2011-03-02 14:15:00 +01:00
hjk
e7121d50d7 debugger: polish breakpoint locations
Task-number: QTCREATORBUG-3912
2011-03-02 13:38:03 +01:00
hjk
2780ff6f22 debugger: refactor watch point lookup
In preparation of bitfield watch points.
2011-03-01 19:17:03 +01:00
Friedemann Kleint
95a80c1291 Debugger: Enable deleting changed breakpoints in non-dbg state.
Do not start a synchronization if the breakpoint is not owned.
2011-02-17 13:49:47 +01:00
Friedemann Kleint
73e9c5790b Debugger: Change UseFullPath setting to an enumeration.
Introducing EngineDefault such that CDB/LLDB can use full paths
by default and gdb can use short paths.

Reviewed-by: hjk
2011-02-17 13:06:51 +01:00
hjk
d6c870e90e debugger: show more detail for "special" breakpoints in breakwindow
main/throw/catch
2011-02-14 13:56:18 +01:00
Friedemann Kleint
3a100e8d7c Debugger: Make breakpoint capabilities more fine-grained.
Handle in editBreakpoint().

Acked-by: hjk
2011-02-07 11:05:30 +01:00
Friedemann Kleint
59b2aac1c4 Debugger: Add 'command[s]' to breakpoints, polish BP dialogs.
Add commands (CDB, gdb with '\n' delimiter for multiple),
rearrange dialogs, make ignore count a spin box.
2011-02-04 11:37:01 +01:00
Friedemann Kleint
c6d4ff531f Debugger: Fix breakpoint dialog.
Update model once a breakpoint is added, set initial
state of dialog.
2011-02-04 09:11:24 +01:00
Friedemann Kleint
91ead6c818 Debugger[CDB]: Refactor breakpoint handling.
Add a command to list breakpoints enabling id access.
Implemented breakpoint handling similar to gdb using breakpoint
ids (no longer delete and re-set all breakpoints on a change).
Save the module that is reported back in the session so that
it can be re-used for the next start. Keep a per-debugger-session
cache of fileName->Module for adding breakpoints to accelerate
setting breakpoints in the same file.
Polish the breakpoint tooltip.
2011-02-03 16:26:23 +01:00
hjk
7a2fc35629 debugger: fix breakpoint markers in disassembler view
Task-number: QTCREATORBUG-3667
2011-02-02 17:28:58 +01:00
Friedemann Kleint
e612e6636b Debugger: Add a module to breakpoint.
To speed up CDB, lldb. Add to dialogs, serialize.
Move breakpoint.ui into Debugger::Internal, add buddies.

Rubber-stamped-by: hjk
2011-02-02 14:41:14 +01:00
hjk
c736cc3c8d debugger: use 'maint print msymbols' to extract Qt's namespace
still racy
2011-01-19 14:07:51 +01:00
hjk
349ff0f1c7 debugger: disable the display of the breakpoint 'extra' field
Too distracting for now.
2011-01-14 17:09:18 +01:00
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
hjk
21df2cc843 debugger: let the manually corrected bp line number take precedence
Looks like the number from '-break-info' cannot be trusted, even if
'original-line' is present.
2011-01-06 16:44:04 +01:00
hjk
81701e080a debugger: do not write the 'all' (-1) threadspec to the session file
This confuses 2.1 which uses 0 as 'all' value.
2011-01-06 16:44:04 +01:00
hjk
da3a5360df debugger: fix recently introduced regression in gotoLocation
don't set the marker when clicking in the breakpoint view
2010-12-21 15:53:49 +01:00
con
b1bcf081d8 Merge branch '2.1'
Conflicts:
	src/plugins/coreplugin/basemode.cpp
	src/plugins/coreplugin/basemode.h
	src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp
	src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h
	src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp
	src/plugins/debugger/debuggeragents.cpp
	src/plugins/debugger/debuggeruiswitcher.cpp
	src/plugins/debugger/debuggeruiswitcher.h
	src/plugins/projectexplorer/buildconfigdialog.cpp
	src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
	src/plugins/qmldesigner/components/propertyeditor/colorwidget.h
	src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h
	src/plugins/qmldesigner/designercore/include/modelutilities.h
	src/plugins/qmldesigner/designercore/include/nodeinstance.h
	src/plugins/qmldesigner/designercore/include/propertymetainfo.h
	src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h
	src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h
	src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp
	src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h
	src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp
	src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp
	src/plugins/qmldesigner/designercore/model/modelutilities.cpp
	src/plugins/snippets/inputwidget.cpp
	src/plugins/snippets/snippetscompletion.cpp
	src/plugins/snippets/snippetscompletion.h
	src/plugins/snippets/snippetspec.cpp
	src/plugins/snippets/snippetsplugin.cpp
	src/plugins/snippets/snippetswindow.cpp
	src/plugins/snippets/snippetswindow.h
	src/plugins/texteditor/snippetsparser.cpp
	src/tools/qml/qmldom/main.cpp
	tests/manual/trk/runner.cpp
	tests/manual/trk/trkolddevice.cpp
	tests/manual/trk/trkolddevice.h
	tests/manual/trk/trkserver.cpp
2010-12-17 17:00:53 +01:00
con
04e32b0049 License headers. 2010-12-17 16:03:42 +01:00
hjk
9757e22113 debugger: introduce the concept of a 'Location', used by gotoLocation 2010-12-17 11:59:01 +01:00
hjk
39c145bf93 debugger: more tracepoint stuff 2010-12-17 11:59:01 +01:00
hjk
f0b6bce057 debugger: start with some infrastructure for tracepoint support 2010-12-16 13:35:41 +01:00
Roberto Raggi
b4e421062f Removed stray tokens and fixed warnings/errors when compiling with pedantic C++ compilers. 2010-12-16 12:05:48 +01:00
hjk
38537d8634 debugger: changing breakpoint data in 'new' should not trigger an engine update 2010-12-14 15:11:55 +01:00
hjk
6e17e7a3ab debugger: thread 0 is valid for cdb. so use -1 as 'any' value 2010-12-14 13:27:18 +01:00
hjk
b90bb97fa9 debugger: make location markers engine-specific 2010-12-14 13:10:07 +01:00
Friedemann Kleint
e8caa6341b Debugger: Native separators in break window. 2010-12-14 09:57:14 +01:00
hjk
a638b9338e debugger: make '0' the 'invalid' BreakpointId value 2010-12-01 11:52:18 +01:00
hjk
3d8aefb9f5 debugger: show breakpoint markers more often again 2010-11-30 15:44:54 +01:00
hjk
d5c5b90b4f debugger: make "threadspec" an int instead of a bytearray 2010-11-30 13:40:23 +01:00
hjk
2b80651d7b debugger: less magic state transitions in the break handler 2010-11-30 13:40:23 +01:00
hjk
8a2e21eb60 debugger: add a few more asserts 2010-11-30 10:00:33 +01:00
hjk
6cb72f0634 debugger: watchpoint cosmetics 2010-11-26 12:39:14 +01:00
hjk
15ee289ee2 make breakpoint and watchers view more robust when switching sessions 2010-11-25 17:17:31 +01:00
hjk
2cbe7a3655 debugger: update breakwindow after breakpoint property changes 2010-11-25 15:03:02 +01:00
hjk
b66a6741da debugger: enable breakpoint setting from a disassembler view 2010-11-25 13:35:01 +01:00
hjk
90657a496b debugger: small usability fixes for dissassembler, breakpoint view, location 2010-11-24 15:55:45 +01:00
hjk
e309310308 debugger: remove macro from breakhandler/h 2010-11-18 17:54:05 +01:00
hjk
9b115f4b78 debugger: take unusual marker file names into account when toggling breakpoints. 2010-11-18 16:32:03 +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
0b3ef78ca6 debugger: robustify file name reading on Mac 2010-11-18 16:01:13 +01:00
hjk
c448ae842d debugger: fix markers for breakpoints in constructors 2010-11-18 15:48:17 +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
bf1f351f29 debugger: first step to re-enable breakpoint location update. 2010-11-18 12:31:26 +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