Friedemann Kleint
a92e38f47f
Debugger: Compile with QT_NO_CAST_FROM_ASCII.
...
(except gdbmi.cpp, name_demangler.cpp). Remove some unneeded
conversions, change some maps to take QByteArray keys.
Change-Id: I010f1251998a441fe5c8c87901b1e0c277c0391c
Reviewed-by: hjk <qthjk@ovi.com >
2011-12-21 14:07:12 +01:00
Friedemann Kleint
af6e06dfb2
Do not start LocalRunConfiguration when the executable is empty.
...
When accidentally pressing 'Debug' on a library project,
the dialog asking for the executable pops up and debugging still
starts although cancel is pressed.
Add dialog title, set flags, and check its return values.
Change-Id: I8518b8af70b12a7059f9ee0e20a9d0b325db1e98
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2011-12-20 17:13:39 +01:00
hjk
9739b8df62
debugger/remotelinux: new dialog to attach to remote process
...
Change-Id: I221534561f4bbd299d494ecc902092e2e709770c
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com >
2011-12-08 15:00:55 +01:00
Daniel Teske
f5d4287123
Use Utils::FileName for various bits in QtVersion
...
Change-Id: I3afc3a4f2e0dd2671279c2d071779f1d7b277849
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2011-12-07 15:05:31 +01:00
hjk
18d8e340e3
debugger: clearer naming for some of the remote operations
...
Change-Id: If5857d9f41ac3819c591df165ef2d8788d95089c
Reviewed-by: hjk <qthjk@ovi.com >
2011-12-07 10:12:49 +01:00
hjk
31600758de
all: s/info@qt.nokia.com/qt-info@nokia.com/
...
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-11-03 10:33:19 +01:00
Tobias Hunger
5bfb5d9c32
CERC: Use invalid ABI
...
Use a invalid ABI since we have no idea what we will end up running.
Make the debugger figure out specifics when needed.
Change-Id: Ia74080887617a097a16d789dfd7f88458409a23c
Reviewed-on: http://codereview.qt-project.org/6065
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-10-05 17:01:01 +02:00
hjk
fcaa288036
debugger: fix compiler warning for not-yet-used enumeration value
...
Change-Id: I6ad55fc24c957442ee0ec8735b754f86e32d2dfe
Reviewed-on: http://codereview.qt-project.org/5236
Reviewed-by: hjk <qthjk@ovi.com >
2011-09-20 13:55:52 +02:00
hjk
58cb19e55e
all: less QScopedPointer
...
Change-Id: I536bdb4d4f0c10fa858560f3c160fc0fff8da9b2
Reviewed-on: http://codereview.qt-project.org/5116
Reviewed-by: hjk <qthjk@ovi.com >
2011-09-19 08:56:44 +02:00
hjk
c6a8b39a03
debugger: hard-code some qt5 related paths
...
This is not a final solution.
Change-Id: I19e7a99e1b056704864d27855197678a0d3fd10b
Reviewed-on: http://codereview.qt-project.org/5073
Reviewed-by: hjk <qthjk@ovi.com >
2011-09-16 11:06:20 +02:00
Aurindam Jana
bfe5b520f1
QmlDebugger: Added dialog "Attach to QML Port..."
...
The dialog is added to Debug->Start Debugging menu option. It specifies the host
and port that the JSDebugClient connects to for listening to debug messages.
Change-Id: I7f828c169ff2338f4780025f72182c5fc8784c4a
Reviewed-on: http://codereview.qt-project.org/4824
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2011-09-14 11:11:31 +02:00
Kai Koehne
3261128a94
Debugger: Don't warn about never-hit breakpoints when loading a coredumps
...
Only check the breakpoints when app was started internally.
Change-Id: I38f0af08a2c137d44a127b254283574277b57eff
Reviewed-on: http://codereview.qt.nokia.com/2751
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: hjk <qthjk@ovi.com >
2011-08-15 11:09:37 +02:00
Friedemann Kleint
97a2cc53cf
Debugger[CDB]: Implement AttachCore for debugdiag dumps.
...
Change-Id: I19c57248ed5e7c43b14b849419c9edf29bca26dc
Reviewed-on: http://codereview.qt.nokia.com/2706
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-08-05 17:43:58 +02:00
Kai Koehne
1757228278
New QTC_CHECK warning replacing QTC_ASSERT(x, /**/)
...
Warn if the condition fails, but otherwise don't change the execution
flow.
Change-Id: Id7b14c745109b66960add967b2a4ef8d31e1a546
Reviewed-on: http://codereview.qt.nokia.com/2389
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-07-29 12:19:11 +02:00
Kai Koehne
fba97518ff
Debugger: Only warn once about unhandled breakpoints
...
Don't show the dialog for every single breakpoint
Task-number: QTCREATORBUG-5557
Change-Id: Id1b60e92856cd2c8b81de43340bbaf4f5d7f3a8d
Reviewed-on: http://codereview.qt.nokia.com/2326
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2011-07-28 11:20:51 +02:00
Kai Koehne
da06e83c3d
Debugger: Prevent message boxes for every output to stderr
...
The use of QErrorMessage::qtHandle() installs a message handler
that from then on pops up a warning for each qWarning().
Change-Id: Iad6ac7b002ffc007de7df7a41c3ce0f9ee40e6d0
Reviewed-on: http://codereview.qt.nokia.com/2280
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-07-27 17:15:44 +02:00
hjk
c041286753
debugger: split BreakpointIndex into plugin and debugger specific part
...
Change-Id: I21d10cf42eb039c74475e106537b6e107d155196
Reviewed-on: http://codereview.qt.nokia.com/745
Reviewed-by: hjk <qthjk@ovi.com >
2011-06-27 09:14:25 +02:00
Kai Koehne
ed7fbf19a6
Debugger: Allow users to disable warning about unsupported breakpoints
...
QErrorMessage has by default a 'don't show the message again' checkbox.
Change-Id: I4bbb2172298db848870ed1abf9f7d6195bdfe49d
Reviewed-on: http://codereview.qt.nokia.com/400
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2011-06-21 14:56:12 +02:00
Kai Koehne
3485d7f5ca
QmlDebugger: Always use ',block' argument
...
This will allow e.g. the JS Debugger to catch scripts running at startup.
Change-Id: I00d339b06f1ed2b716c62bd2d53a32c2b20b1ddc
Reviewed-on: http://codereview.qt.nokia.com/377
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com >
2011-06-08 14:39:13 +02:00
Oswald Buddenhagen
9a2814d646
introduce separate output format for windows debug channel
2011-05-12 20:39:43 +02:00
Kai Koehne
6aa24fd184
DebuggerRunner: Use 'Yes', 'No' buttons for 'Do you want to continue?'.
2011-05-12 12:41:31 +02:00
Tobias Hunger
aa2acec14c
Fix/add copyright headers
...
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
hjk
ccffed9385
debugger: make F10/F11 start the app if not running and break on main
2011-05-02 18:23:04 +02:00
Kai Koehne
a150d5f4b4
Debugger: Add warning if debugger cannot handle breakpoints
...
This usually happens when a breakpoint is e.g. set in a .qml file,
but QML not selected as the debugger language, or vice versa.
2011-04-28 14:06:43 +02:00
Kai Koehne
5f297fb168
DebuggerRunner: Add tr()
2011-04-28 14:06:43 +02:00
Kai Koehne
ea36927cc3
QmlDebug: Simplify logic to find the source file for a stack frame
...
Get rid of custom logic to handle shadow builds (which didn't work
anyway if the qml files are from a different directory than expected).
Instead, just search for the file name in the list of files from the
project.
Reviewed-by: Christiaan Janssen
2011-04-27 17:25:48 +02:00
con
14487af86c
Merge remote branch 'origin/2.2'
...
Conflicts:
src/plugins/projectexplorer/gcctoolchain.cpp
src/plugins/projectexplorer/target.cpp
src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
2011-04-27 11:27:29 +02:00
con
2cf76ead26
Move OutputFormatter to Utils lib.
2011-04-26 10:45:21 +02:00
Friedemann Kleint
1ae9679c40
Debugger: Separate internal constants.
2011-04-21 15:52:51 +02:00
Kai Koehne
c3e2fd9ed7
Fix "File name case mismatch" error when debugging QML apps (Win)
...
Work around QTBUG-17529 by normalizing the capitalization of the
working directory (which we do already for launching apps without
debugging).
Task-number: QTCREATORBUG-4592
Reviewed-by: Friedemann Kleint
2011-04-20 15:21:41 +02:00
Friedemann Kleint
141f53cfee
Run/Debug: Do not launch on a library project if user cancels
...
the executable dialog that pops up.
Reviewed-by: dt
2011-04-18 13:01:12 +02:00
Oswald Buddenhagen
dc3c156cac
Merge branch '2.2'
...
Conflicts:
src/plugins/debugger/gdb/pythongdbengine.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h
src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h
src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
src/plugins/qt4projectmanager/qt4target.cpp
src/plugins/qt4projectmanager/qt4target.h
src/plugins/qt4projectmanager/qtoptionspage.h
src/plugins/qt4projectmanager/qtversionmanager.cpp
src/plugins/welcome/welcomemode.cpp
2011-04-14 12:39:31 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
dt
880813a3bc
Fixing tons of application output
...
Master fixed a bug where a newline was almost always prepended to any
output. As a side effect of that a lot of messages which outputed no
newline broke. This commit fixes the obvious ones, probably missing a
few.
2011-04-12 19:42:25 +02:00
Friedemann Kleint
6cf2cf8605
Debugger: Fix warning, remove unused AttachTcf mode.
2011-04-08 16:04:53 +02:00
hjk
f5f8227be5
debugger: code cosmetics
2011-04-07 18:00:46 +02:00
con
1c2da511b9
Merge remote branch 'origin/2.2'
...
Conflicts:
src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
src/plugins/qt4projectmanager/qt-maemo/maemoglobal.h
src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/rvcttoolchain.h
2011-04-01 09:53:09 +02:00
hjk
5ecb41afb5
debugger: remove 'Attach to TCF' start option
...
And TcfEngine etc.
Reviewed-by: Friedemann Kleint
2011-03-30 14:59:49 +02:00
dt
28cf277cc1
RunControl: Show correct icon in application output
...
Add a virtual icon() method to runcontrol.
Actually currently the icon only varies between modes of running.
Task-Nr: QTCREATORBUG-1232
2011-03-28 19:58:26 +02:00
Friedemann Kleint
0e89104b45
API Documentation: Fix warnings.
2011-03-28 14:58:12 +02:00
Friedemann Kleint
8ff480881a
Debugger: Always add Qt install source mappings for gdb.
...
As it fails for MinGW.
Task-number: QTCREATORBUG-4132
Reviewed-by: hjk
2011-03-18 10:03:08 +01:00
Tobias Hunger
429ed63f5d
Fix spelling of tool chain is user-visible strings and comments
2011-03-16 18:01:52 +01:00
Friedemann Kleint
9b82323ad1
Debugger: Show message box when preferred engine is not available.
...
Rewrite logic once again. Merge the previously separate
enabled/configured loops into one to simplify the code and
exclude LLDB from reporting as it is experimental, currently.
2011-03-14 17:34:27 +01:00
Friedemann Kleint
7d4284e5d9
Revert "Debugger: Message box when preferred debugger is not set up."
...
As it causes messages on Linux.
This reverts commit c75738f9ac
.
2011-03-14 15:50:23 +01:00
Friedemann Kleint
c75738f9ac
Debugger: Message box when preferred debugger is not set up.
...
Task-number: QTCREATORBUG-3990
2011-03-14 15:43:41 +01:00
Friedemann Kleint
f5ad4b609c
Debugger: Output warnings when preferred debugger is not set up.
...
Reviewed-by: hjk
Task-number: QTCREATORBUG-3990
2011-03-08 12:39:35 +01:00
Friedemann Kleint
ad21b4859a
L10n: tr()-Fixes.
2011-03-01 17:07:37 +01:00
Milian Wolff
09f89d52be
enable adding custom config widgets from a run control factory
...
To achieve this there are two methods in IRunControlFactory you
need to implement:
1) createRunConfigurationAspect returns a IRunConfigurationAspect
which stores the settings specific to your plugin.
2) createConfigurationWidget returns a RunConfigWidget that will
be shown in the project settings
Merge-request: 258
Reviewed-by: hjk <qtc-committer@nokia.com >
2011-02-28 12:23:12 +01:00
Friedemann Kleint
ed8dd0b031
Debugger: Actually pass the debugger command from ToolChain.
...
Do not retrieve debugger command from ABI as that causes mismatches
when several toolchains of the same ABI are present.
Use indexes in the debugger dialogs.
Polish tooltip.
2011-02-25 16:03:22 +01:00
Friedemann Kleint
14d590590f
Debugger: Use Startparameters.debuggerCommand for command.
...
Use in both engines preferred over ABI if it is compatible.
Report start parameters. Introduce gdb configuration check.
2011-02-25 13:43:06 +01:00