Commit Graph

131 Commits

Author SHA1 Message Date
Christiaan Janssen
05a89496e0 QmlObserver: breakpoint list is shared between engines
Reviewed by:  Kai Koehne, Andre Poenitz
2010-10-04 10:20:33 +02:00
hjk
1cd2791d23 debugger: fix disabling of breakpoints using the context menu
Reviewed-by: Robert Loehning
Task-number: QTCREATORBUG-2543, QTCREATORBUG-2544
2010-10-01 17:18:05 +02:00
Lasse Holmstedt
09327628fd Debugger: Use mainwindow as the parent of message boxes
Reviewed-by: hjk
2010-09-29 09:39:50 +02:00
Lasse Holmstedt
89443cfb1f QML Observer: Complain about not having it if debugging .qmlprojects
Reviewed-by: hjk
2010-09-29 09:39:42 +02:00
Christian Kandeler
b57461c5c6 Maemo: Disable proxy use for device access.
Workaround for proxy problems on Windows (Qt bug?).

Reviewed-by: kh1
(cherry picked from commit f3ac8e43fe)
2010-09-28 09:19:42 +02:00
Tobias Hunger
f5c044fe48 Move ProjectExplorer::Environment to Utils::Environment
Reviewed-by: dt
2010-09-23 13:40:26 +02:00
Friedemann Kleint
13c97d652e Debugger: Fixes around watch editing.
assignValueInDebugger: Pass on WatchData as well, pass
on values as QVariant. Based on that, do more extensive
checks in CDB, preventing assignment of non-PODs.

Locals/Watch editing:
* Disable while running
* Edit pointer values as hex with validation.

CDB: Strip class types off reported pointer values and reformat
the values as short 0x-pointer values, introduce flag to
WatchData::source to do dumper expansion handling.

Windows: recognize int64 as int.

Register handler: Fix accessing uninitialized value.
2010-09-23 13:22:08 +02:00
hjk
02283ea84d debugger: rename output window into log window 2010-09-22 16:22:57 +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
Leena Miettinen
f4adda8d66 UI text - fix capitalization 2010-09-17 11:14:36 +02:00
hjk
bd2d160a95 debugger: suppress variable tooltips with outdated contents 2010-09-15 19:02:35 +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
3e152fc8aa debugger: add an "Memory View" item to the menu
Task-number: QTCREATORBUG-1600
2010-09-09 18:08:25 +02:00
Lasse Holmstedt
afd4e3047c Debugger: don't show progress bars for engines inside a wrapper engine.
Reviewed-by: hjk
2010-09-08 14:55:07 +02:00
Friedemann Kleint
444e2fd4ce Quieten gcc compiler warnings. 2010-09-07 14:34:38 +02:00
hjk
98e37b3b15 debugger: don't remove corefiles that we did not create. 2010-09-07 14:26:18 +02:00
hjk
a364b93577 debugger: allow state transition EngineShutdownRequested -> EngineShutdownFailed 2010-09-07 13:22:53 +02:00
hjk
0e2a7608f2 debugger: fix remote adapter startup 2010-09-06 11:36:33 +02:00
Kai Koehne
6f11765dae Qml: Allow user to configure port used (all project types)
Reviewed-by: dt
2010-09-03 12:29:41 +02:00
Kai Koehne
cacd1a91eb QmlDebugger: Use named variable instead of literal (SERVER_PORT) 2010-09-03 12:29:41 +02:00
Lasse Holmstedt
f38942d843 QML Debugger: Set default port for QML debugger correctly 2010-08-27 16:24:36 +02:00
Lasse Holmstedt
7afef49682 Qml Debugger: Code style and cleanup
Reviewed-by: hjk
2010-08-24 17:47:20 +02:00
Lasse Holmstedt
67365553f7 Debugger: Remove "Change language automatically" 2010-08-24 17:46:22 +02:00
Lasse Holmstedt
b557c58eac Qml Debugger: Enable debugging qml+cpp standalone applications
A new debugger engine, QmlCppEngine, is introduced, which wraps gdb
and qml engines into one. Alternatively, if using Windows, Cdb is used
instead of Gdb.

Most of the debugger ui switcher is now rewritten, and it is tailored
for the QML and CPP layout case, the only one supported anyway.

Reviewed-by: hjk
2010-08-24 17:46:22 +02:00
Friedemann Kleint
ad9ff8ed74 Debugger: Fix exit crash.
Make sure DebuggerRunner::finished() is always connected to
handleFinished() (even for subclassed DebuggerRunners). Add
some more debugging information.
2010-08-24 16:22:21 +02:00
Friedemann Kleint
54f9654bd3 Debugger: Fix Symbian.
...which subclasses DebuggerRunner and does not call
DebuggerPlugin::startDebugger(), which connects the
engine, leading to strange malfunctions. Move functionality
to DebuggerRunner::start() to make it self-contained.
Add object names to engines for easier debugging.

Reviewed-by: hjk
2010-08-24 15:35:46 +02:00
Pawel Polanski
fa68a545a8 Executable's UID added to the DebuggerStartParameters. Used for debugging on SymbianOs 2010-08-20 13:02:14 +02:00
Friedemann Kleint
83f3119c97 Debugger: Improve exit handling. 2010-08-18 11:08:50 +02:00
Friedemann Kleint
ff5ee69db9 Debugger[TCF Trk]: Start on TCF Trk 4.0.5
At least display the errors it produces correctly.
2010-08-10 14:50:29 +02:00
hjk
631748c37b debugger: robustification 2010-07-22 17:21:32 +02:00
hjk
aae95a24a2 debugger: improve launch progress display 2010-07-22 12:02:35 +02:00
hjk
9cbbeec6c1 debugger: move convienience function to DebuggerEngine base class 2010-07-21 14:28:29 +02:00
hjk
fc35cd03a7 debugger: cosmetics 2010-07-21 14:28:28 +02:00
hjk
cab3553341 debugger: don't show a "Launching" progress for the dummy session engine 2010-07-21 14:06:42 +02:00
hjk
dfd44a0ceb debugger: fix display of correct thread in the thread combobox 2010-07-21 13:11:35 +02:00
hjk
56aff185a6 debugger: move progress handling to debugger engine base class 2010-07-21 11:03:19 +02:00
hjk
d9e445bbe8 debugger: re-enable snapshot creation using the menu action 2010-07-21 09:42:33 +02:00
hjk
b57dc4e644 debugger: a spontaneously dying engine should not cause debug output 2010-07-20 18:54:50 +02:00
hjk
753a28ed4e debugger: make debugger restartable using the buttons in the application output pane 2010-07-20 18:54:50 +02:00
hjk
62060ce79c debugger: make requestMark() more robust for editors not representing files 2010-07-20 18:54:50 +02:00
hjk
8d54298c8e debugger: handle shutting down engines from SnapshotWindow <Del> or context menu 2010-07-20 18:54:50 +02:00
hjk
04ad5619b6 debugger: somewhat more graceful shutdown in known situations 2010-07-20 15:12:58 +02:00
hjk
af57dc4170 debugger: re-enable setting breakpoints while inferior is running 2010-07-20 14:02:58 +02:00
hjk
e63253737c debugger: move a slot to DebuggerEnginePrivate 2010-07-20 14:02:58 +02:00
hjk
3ff18381d0 debugger: delete debugger engine's private data 2010-07-20 14:02:58 +02:00
ck
db99f82863 Debugger/gdb: Adapt pid parsing.
Written-by: hjk
2010-07-15 17:01:31 +02:00
hjk
d6fc1193ed debugger: more linear state handling in core adapter 2010-07-15 14:54:43 +02:00
hjk
fc3b503644 debugger: make -debug binary@host:port[@arch] work on the commandline to
attach to a gdb server
2010-07-15 10:45:51 +02:00
hjk
cc3df924ac debugger: reduce noise created by debugging messages 2010-07-14 17:54:19 +02:00
Friedemann Kleint
0b527bfdfe Fix CDB/trkgdbadapter. 2010-07-14 17:49:18 +02:00