Commit Graph

151 Commits

Author SHA1 Message Date
Arvid Ephraim Picciani
2a569ce073 Clean up BreakPoint
Reviewed-by: Friedemann Kleint
Reviewed-by: hjk
2010-10-29 11:29:37 +02:00
hjk
78b2f25791 x 2010-10-28 08:55:50 +02:00
hjk
4be2ebcb9b debugger: don't let slave engine command the gui 2010-10-27 15:05:56 +02:00
hjk
0f994600b2 debugger: rename m_runInWrapperEngine into m_isSlaveEngine 2010-10-27 14:25:36 +02:00
hjk
ab967902d8 debugger: prepare removal of plugin()->updateState(this); 2010-10-27 14:21:33 +02:00
hjk
2efdeb5cd0 debugger: fix EngineSetupFailed path
Task-number: QTCREATORBUG-2837
2010-10-26 17:08:12 +02:00
hjk
57f7616286 debugger: call shutdownEngine, not shutdownInferior on EngineRunFailed 2010-10-26 16:49:29 +02:00
Oswald Buddenhagen
35bb61590d Merge remote branch 'origin/2.1'
Conflicts:
	doc/qtcreator.qdoc
	share/qtcreator/templates/mobileapp/app.pro
2010-10-25 11:27:30 +02:00
Friedemann Kleint
67278ca35b Valgrind fixes.
In Debugger and WelcomePageWidget.

Reviewed-by: Daniel Molkentin <daniel.molkentin@trolltech.com>
2010-10-21 12:36:19 +02:00
Oswald Buddenhagen
dfee3388af Merge remote branch 'origin/2.1'
Conflicts:
	share/qtcreator/templates/qmlapp/app.pro
	src/libs/utils/filesearch.cpp
2010-10-18 20:59:12 +02:00
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
Bill King
9293453ced Merge branch '2.1'
Conflicts:
	tests/auto/fakevim/fakevim.pro
2010-10-12 10:01:27 +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
Christian Kamm
b78c1ef6da Merge remote branch 'origin/2.1'
Conflicts:
	README
	doc/qt-html-templates.qdocconf
	doc/qtcreator.qdoc
	doc/qtcreator.qdocconf
	share/qtcreator/templates/wizards/qtcreatorplugin/MyPlugin.pluginspec
	src/app/Info.plist
	src/plugins/bineditor/BinEditor.pluginspec
	src/plugins/bookmarks/Bookmarks.pluginspec
	src/plugins/classview/ClassView.pluginspec
	src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec
	src/plugins/coreplugin/Core.pluginspec
	src/plugins/coreplugin/coreconstants.h
	src/plugins/cpaster/CodePaster.pluginspec
	src/plugins/cppeditor/CppEditor.pluginspec
	src/plugins/cpptools/CppTools.pluginspec
	src/plugins/cvs/CVS.pluginspec
	src/plugins/debugger/Debugger.pluginspec
	src/plugins/debugger/breakhandler.cpp
	src/plugins/designer/Designer.pluginspec
	src/plugins/fakevim/FakeVim.pluginspec
	src/plugins/find/Find.pluginspec
	src/plugins/genericprojectmanager/GenericProjectManager.pluginspec
	src/plugins/git/ScmGit.pluginspec
	src/plugins/helloworld/HelloWorld.pluginspec
	src/plugins/help/Help.pluginspec
	src/plugins/imageviewer/ImageViewer.pluginspec
	src/plugins/locator/Locator.pluginspec
	src/plugins/mercurial/Mercurial.pluginspec
	src/plugins/perforce/Perforce.pluginspec
	src/plugins/projectexplorer/ProjectExplorer.pluginspec
	src/plugins/qmldesigner/QmlDesigner.pluginspec
	src/plugins/qmljseditor/QmlJSEditor.pluginspec
	src/plugins/qmljsinspector/QmlJSInspector.pluginspec
	src/plugins/qmlprojectmanager/QmlProjectManager.pluginspec
	src/plugins/qt4projectmanager/Qt4ProjectManager.pluginspec
	src/plugins/regexp/RegExp.pluginspec
	src/plugins/resourceeditor/ResourceEditor.pluginspec
	src/plugins/snippets/Snippets.pluginspec
	src/plugins/subversion/Subversion.pluginspec
	src/plugins/tasklist/TaskList.pluginspec
	src/plugins/texteditor/TextEditor.pluginspec
	src/plugins/vcsbase/VCSBase.pluginspec
	src/plugins/welcome/Welcome.pluginspec
	tests/auto/cplusplus/codeformatter/tst_codeformatter.cpp
	tests/manual/fakevim/fakevim.pro
	tests/manual/ssh/errorhandling/main.cpp
2010-10-11 14:16:33 +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
dt
6b6d9871b8 Merge remote branch 'origin/2.1'
Conflicts:
	share/qtcreator/templates/mobileapp/app.pro
	share/qtcreator/templates/qmlapp/app.pro
	src/plugins/cpptools/cpptools.pro
2010-10-04 16:07:46 +02:00
dt
b9868d859c DebuggerPlugin: Remove unneded includes 2010-10-04 15:10:00 +02:00
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