Commit Graph

171 Commits

Author SHA1 Message Date
hjk
7195c6b5ad debugger: re-do state transitions in combined C++/Qml engine
This still needs a lot of work and sanitizing.
2011-01-14 14:28:36 +01:00
hjk
1c7c49e228 debugger: reorganize debuggerengine.h 2011-01-12 14:14:57 +01:00
hjk
6dd55aa471 debugger: introduce generic master/slaves engine 2011-01-12 12:17:47 +01:00
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
Friedemann Kleint
a7eccce733 Debugger: Header cleanup 2011-01-10 10:14:23 +01:00
hjk
0ee4011cfd debugger: compile fix, minor cleanup 2011-01-07 10:13:55 +01:00
hjk
0b5591ae7a debugger move DebuggerStartParameters into file of its own 2011-01-07 09:44:48 +01:00
hjk
63eaf1e132 debugger: add an option to load "missing" symbols for current stack 2010-12-21 13:36:28 +01:00
hjk
6b13434a45 debugger: don't crash in gotoLocation() if no editor can be created 2010-12-21 12:30:50 +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
2f484fd7e8 debugger: remove a bit of stackview flicker by using the 80 ms timer 2010-12-17 11:59:01 +01:00
hjk
9757e22113 debugger: introduce the concept of a 'Location', used by gotoLocation 2010-12-17 11:59:01 +01:00
hjk
92e8524734 debugger: hot fix for not activated editors while stepping 2010-12-16 10:44:48 +01:00
hjk
133feaae51 debugger: code cosmetics 2010-12-14 16:11:23 +01:00
hjk
0c43604e59 debugger: make memory view updatable
Still some flickering and no marks which parts changed.
2010-12-14 16:01:44 +01:00
hjk
7ef927ac6c debugger: simplify the 'break at main' logic 2010-12-14 13:10:39 +01:00
hjk
49bb22134f debugger: remove dead code 2010-12-14 13:10:07 +01:00
hjk
fb837b5230 debugger: s/*ViewAgent/*Agent/ to reduce noise and match file names 2010-12-14 13:10:07 +01:00
hjk
b90bb97fa9 debugger: make location markers engine-specific 2010-12-14 13:10:07 +01:00
hjk
8926f7169d debugger: move MemoryViewAgent ownership to DebuggerEngine 2010-12-13 18:18:02 +01:00
hjk
77e3bfe845 debugger: structural cleanup remote debugging
Use virtual function instead of if/qobject_cast cascades.
2010-12-10 12:42:40 +01:00
hjk
18986b8ccb debugger: minor cleanup 2010-12-10 12:42:40 +01:00
hjk
cfd2dbb395 debugger: split debuggeragents.{h,cpp} int {memory,disassembler}agent.{h,cpp} 2010-12-08 16:48:35 +01:00
hjk
a638b9338e debugger: make '0' the 'invalid' BreakpointId value 2010-12-01 11:52:18 +01:00
Christiaan Janssen
0269e60bac DebuggerEngine: fix shutdown when run failed
Reviewed-by: hjk
2010-11-30 11:35:56 +01:00
hjk
8a2e21eb60 debugger: add a few more asserts 2010-11-30 10:00:33 +01:00
hjk
02b6e3cb77 debugger: forward-port 49cac3d448
Mis-merge?
2010-11-29 16:54:56 +01:00
Friedemann Kleint
a4d7fb2f06 Debugger: Fix compilation, centralize breakpoint type detection.
Reviewed-by: hjk
2010-11-26 13:06:03 +01:00
hjk
75ee5bce8c debugger: make DebuggerEngine::acceptsBreakpoint(id) pure 2010-11-26 11:27:43 +01:00
hjk
7d8d51677b debugger: polish module symbols 2010-11-26 11:27:25 +01:00
hjk
75e22a2937 debugger: allow re-running debugger engines
Task-number: QTCREATORBUG-3073
2010-11-25 17:17:31 +01:00
hjk
8b226452ee debugger: make breakpoints work in disassembler view 2010-11-25 13:35:16 +01:00
Christiaan Janssen
dede74de17 DebuggerEngines: avoiding some runtime error message through extra checks
Reviewed-by:  hjk
2010-11-25 11:37:22 +01:00
hjk
90657a496b debugger: small usability fixes for dissassembler, breakpoint view, location 2010-11-24 15:55:45 +01:00
Friedemann Kleint
9be36be951 Debugger: Fix switching between assembler and source.
Do not drop stack index in resetLocation (which is called
when switching). Do not switch to source unless we have
the file.

Reviewed-by: hjk
2010-11-22 12:22:53 +01:00
hjk
1688d1e1c7 debugger: remove unused DebuggerEngine::{set,is}Active 2010-11-18 17:35:22 +01:00
hjk
ef2f7e3840 debugger: code cosmetics 2010-11-18 17:32:52 +01:00
Friedemann Kleint
8888b8f532 Debugger: Introduce common messages to engine.
Try to achieve consistency in reporting stop messages for all
engines. Report by BreakpointId if available.
2010-11-17 17:16:34 +01:00
Oswald Buddenhagen
1e362b0f8b overhaul process argument handling
get away from argument stringlists. instead, use native shell command
lines which support quoting/splitting, environment variable expansion
and redirections with well-understood semantics.

Task-number: QTCREATORBUG-542
Task-number: QTCREATORBUG-1564
2010-11-17 13:19:07 +01:00
hjk
adba4c954c debugger: remove breakpoint notification indirection through the engine 2010-11-16 18:20:52 +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
Friedemann Kleint
64bd93325f Debugger: Bring back debug output. 2010-11-15 17:36:00 +01:00
Friedemann Kleint
571fb51abf Debugger: Remove debug output. 2010-11-15 17:32:32 +01:00
Christiaan Janssen
4790548216 QmlDebugger: Refactored QmlEngine and QmlCppEngine
Reviewed by:  hjk
2010-11-15 17:18:00 +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
eb5cf529b2 debugger: fix/clarify intention of the EngineSetupFailed state. 2010-11-10 12:54:07 +01:00
hjk
0caf52f6d4 debugger: remove recently introduced endless loop in resetLocation() 2010-11-10 12:38:54 +01:00