Commit Graph

86 Commits

Author SHA1 Message Date
Tim Jenssen
4af1d09535 added possiblity to keep the progress widget
- the Nokia Qt SDK UpdateInfo plugin progress should stay in the
    progress view till the user clicks on it
  - now the futureprogress knows the difference between:
    KeepOnFinishTillUserInteraction and KeepOnFinish

Reviewed-by: con
2010-10-15 17:29:30 +02:00
Robert Loehning
92322229b7 Fixed strings in context menu when breakpoints don't have a number
Task-number: QTCREATORBUG-2742

Reviewed-by: hjk
2010-10-15 15:28:46 +02:00
hjk
e8a1aca8dc debugger: handle forced shutdown in "running" state gracefully
Reviewed-by: Friedemann Kleint
Task-number: QTCREATORBUG-2681
2010-10-11 16:22:23 +02:00
Friedemann Kleint
7d35c50aa5 Debugger[Breakpoints]: Do not trigger reinserting breakpoint unless changed.
Add a menu option to edit breakpoints to the locator/editor context menu.

Reviewed-by: hjk
2010-10-06 10:32:36 +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
Kai Koehne
325af72012 QmlProject: Always use qmlobserver for debugging projects
Also only warn about missing qmlobserver when actually trying to
debug a .qmlproject.

Reviewed-by: Christiaan Janssen
2010-10-04 16:59:58 +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