hjk
fe62330c9f
debugger: rename 'Break on abort' to 'Break on raise'
...
Change-Id: I9e1751e890c42cc9f2d7f855b25c3d7e24b5501f
Reviewed-by: hjk <qthjk@ovi.com >
2012-02-23 18:50:11 +01:00
Eike Ziller
d66acb51d0
Rename IFile->IDocument and FileManager->DocumentManager
...
And adapt the other API respectively.
Change-Id: I1e04e555409be09242db6890f9e013396f83aeed
Reviewed-by: Bill King <bill.king@nokia.com >
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2012-02-20 13:32:49 +01:00
hjk
b9d15b113f
debugger: remove a few too-fancy typedefs
...
Change-Id: I0c8ba3c2d22ca7128527da42b81919dabbd82d14
Reviewed-by: hjk <qthjk@ovi.com >
2012-02-16 11:15:28 +01:00
Denis Mingulov
87b1dc25a1
Debugger: use QString::fromLatin1 instead of QString::fromAscii
...
By source - latin1 is really expected as there is no any check
or usage of QTextCodec::setCodecForCStrings() currently.
QString::fromAscii() might break 'Latin1' input in some cases.
A quote from documentation about QString::fromAscii():
"Note that, despite the name, this function actually uses the
codec defined by QTextCodec::setCodecForCStrings() to convert str
to Unicode. Depending on the codec, it may not accept valid
US-ASCII (ANSI X3.4-1986) input. If no codec has been set, this
function does the same as fromLatin1()."
Change-Id: I49cf047ca674d2ec621b517c635d1927bb2e796f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
Reviewed-by: hjk <qthjk@ovi.com >
2012-02-16 10:27:04 +01:00
Erik Verbruggen
3fa55b7ab9
Removed module names from #include directives.
...
Getting the #include directives ready for Qt5. This includes the
new-project wizards.
Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2012-02-15 16:24:46 +01:00
Tobias Nätterlund
17c18623ef
Add support for the remote QNX debugging protocol
...
Change-Id: Ifb2a378cdc000eb84b65f25c2132783d3a3f53c4
Reviewed-by: hjk <qthjk@ovi.com >
2012-02-10 16:15:40 +01:00
hjk
2beb5ec6e2
debugger: switch on remotecache
...
Change-Id: I938affc8768c98aabcbde0250f8042cc6bf4a59e
Reviewed-by: hjk <qthjk@ovi.com >
2012-02-08 14:32:53 +01:00
hjk
9c57b1000f
debugger: Do not display empty tooltips
...
Task-number: QTCREATORBUG-6893
Change-Id: Idb780e97c23f6cc5d1bcede149959b2e58f9eaa2
Reviewed-by: hjk <qthjk@ovi.com >
2012-02-07 15:48:42 +01:00
hjk
c466dcf084
debugger: handle new *stopped output indication reasons in gdb 7.4
...
Task-number: QTCREATORBUG-6763
Change-Id: I7a95bdbb9ab7b85beb19b7d390a10a5d629dc7e7
Reviewed-by: hjk <qthjk@ovi.com >
2012-02-07 14:37:07 +01:00
Orgad Shaneh
87de819729
GDB/Windows: Break on abort
...
Task-number: QTCREATORBUG-6773
Change-Id: I082b7d04730a5014ad935d6a079a1829dfcdd34c
Reviewed-by: hjk <qthjk@ovi.com >
2012-02-02 13:02:32 +01:00
Friedemann Kleint
c27a463fe7
Debugger: Add Disassembling of functions.
...
- Add "Disassemble function..." action with dialog for name
to stack window.
- Add "Disassemble" with function name from code model to
the Editor context menu.
- Change the engines to be able to disassemble a function without
address.
Change-Id: I812f4672d97d9a866ee7f5a38dbd18b2876bccfa
Reviewed-by: hjk <qthjk@ovi.com >
2012-02-01 17:57:43 +01:00
Orgad Shaneh
8c2bcd14da
Debugger: Reload locals on dynamic type toggle
...
Change-Id: I2ff075bcc5607fec9bd9dc8596108ec5f076d48d
Reviewed-by: hjk <qthjk@ovi.com >
2012-02-01 09:48:05 +01:00
Orgad Shaneh
5e3cebd0f4
Debugger: Remove unneeded setUseDebuggingHelpers slot
...
Change-Id: I62be12e5afe6d2b9a81c03e980e01a49dc4e4632
Reviewed-by: hjk <qthjk@ovi.com >
2012-02-01 09:47:47 +01:00
Kai Koehne
2a02841383
Debugger: Simplify handling of requestRemoteSetup in QmlCppEngine
...
Just emit the requestRemoteSetup on your own in QmlCppEngine. Also
properly check the related state transitions in DebuggerEngine.
Change-Id: I15dc4236303911126de7eee63ed996bdd8e5c5a8
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-31 14:14:05 +01:00
Eike Ziller
284f7dfb2f
Fix debugging with Mac gdb.
...
gdb was not answering to "set breakpoint always-inserted on" at all.
Change-Id: I5fead2e735097236ba094d80bfbd4fa43143e5f7
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-31 12:06:03 +01:00
Daniel Molkentin
b44e541dca
bugreports.qt.nokia.com -> bugreports.qt-project.org
...
Change-Id: Ifc258886f7d6e7d5b02caae8994210aeef221554
Reviewed-by: Robert Löhning <robert.loehning@nokia.com >
2012-01-26 19:58:08 +01:00
hjk
2931a499e6
Long live the king!
...
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-26 19:55:36 +01:00
hjk
828139a7db
debugger: integrate state test into test automation framework
...
Change-Id: If3c6b5095a10a92683bf2214e45408e8d885085f
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-25 17:57:39 +01:00
hjk
c51e7aa7be
debugger: set breakpoint always-inserted and trust-readonly-sections on
...
Change-Id: I13eec92d703e9bb6478f6cc2ba8a125bdd0e3d3e
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-24 20:08:46 +01:00
hjk
4a21f0c3c8
Use new static ICore interface.
...
Change-Id: I9b690d9b150c8d162b15370f9f8986267c9128f1
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-24 18:48:47 +01:00
hjk
7201923562
debugger: move isCppBreakpoint to Breakpoint
...
Change-Id: I241401fa010166982e5a95a699c99fbaa87188ef
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-24 17:10:28 +01:00
hjk
cd2dec1af8
debugger: remove SymbianDebugClient enum
...
There is only CODA nowadays.
Change-Id: I8350baed5b66947593c5850491ac9606af3b737c
Reviewed-by: Paweł Polański <pawel.3.polanski@nokia.com >
2012-01-24 12:55:12 +01:00
hjk
1ef6c2b1f0
debugger: work on autotest integration
...
Change-Id: Iafd07a55e20cd2a65c3bcd23208c24855aeb429f
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-24 10:05:04 +01:00
hjk
496e9fafd0
debugger: replace static capability check by something potentially dynamic
...
This does not yet use the potential.
Change-Id: I087311fb7d59b46e49f65a84c4420c72a1227ebb
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com >
2012-01-16 16:33:43 +01:00
hjk
e96c5237cb
debugger: we do not need the output of -stack-select-frame
...
Change-Id: I4eac412f0505efa356bf6e185e8d45d669b9f511
Reviewed-by: hjk <qthjk@ovi.com >
2012-01-12 18:02:38 +01:00
hjk
bd308acfcf
debugger: adjust supported/unsupported gdb version hint to reality
...
Change-Id: I5d45b37e5967804275913c6311741eca83eac539
Reviewed-by: hjk <qthjk@ovi.com >
2011-12-16 14:14:52 +01:00
hjk
f1d633a254
debugger: remove old workaround recording the entry point
...
This was for kernel i386 2.6.24-23-ubuntu and gdb 6.8.
This is pre-python, i.e. not supported anymore.
Change-Id: I1d73dbd6fd7730e15ebab334eb9d043b210eb631
Reviewed-by: hjk <qthjk@ovi.com >
2011-12-15 12:44:26 +01:00
hjk
3913d8ced0
debugger: fix inverted logic in m_nonDiscardableCount soft assert
...
Change-Id: I88dc1be2232608bcf158212fcbd6e82db4cad860
Reviewed-by: hjk <qthjk@ovi.com >
2011-12-15 12:43:39 +01:00
hjk
b60f464c64
debugger: run tests only after view is fully populated.
...
Change-Id: I730b35f9384d672a613e79842b21709a12b9a95f
Reviewed-by: hjk <qthjk@ovi.com >
2011-12-14 15:36:19 +01:00
hjk
89cee4313c
debugger: improve expansion behaviour of pinned tooltips.
...
Task-number: QTCREATORBUG-6554
Change-Id: I26ea4e5eb5826baaa6fd3bd4b199dd34e88703e0
Reviewed-by: hjk <qthjk@ovi.com >
2011-12-13 20:53:08 +01:00
hjk
0d08db2189
debugger: be more restrictive with discardable results
...
This is expected to create more console output, which needs to be fixed
on a case-by-case base.
Change-Id: Ic83fb1d4c4392cfb421d9c2eba52b7bae705daae
Reviewed-by: hjk <qthjk@ovi.com >
2011-12-13 15:54:39 +01:00
Orgad Shaneh
55714612a5
GDB: Always read init scripts after python dumpers
...
If the user overrides a dumper function (e.g. threadnames), it is
not overridden when the target is a core dump, because the python
dumpers are re-read after loading the init scripts.
Change-Id: I8740228e754a4ed96352188bdfa4ffec95cdeaa0
Reviewed-by: hjk <qthjk@ovi.com >
2011-12-05 10:50:54 +01:00
Kai Koehne
66949f2b45
Debugger: Hide memory related actions in context menus for QML only
...
Change-Id: I29f09f983146fff3301426703db0b93090c6507c
Reviewed-by: hjk <qthjk@ovi.com >
2011-12-01 16:34:51 +01:00
hjk
3e03c06420
debugger: start automization of manual tests
...
Change-Id: I33bd046eca253130049d0a80de7a1a3f3e442307
Reviewed-by: hjk <qthjk@ovi.com >
2011-11-25 16:30:38 +01:00
hjk
3a210a19c9
debugger: immediate refresh after toggling sort order of struct members
...
Change-Id: Iac7de58ca8681a60a4b6c9d0e717eb57753898b5
Reviewed-by: hjk <qthjk@ovi.com >
2011-11-24 18:15:54 +01:00
Eike Ziller
85cf2b661e
Merge remote-tracking branch 'origin/2.4'
...
Conflicts:
src/libs/qmljs/qmljsinterpreter.cpp
src/libs/qmljs/qmljsinterpreter.h
src/plugins/debugger/qml/scriptconsole.cpp
src/plugins/git/gitplugin.cpp
src/plugins/qmlprofiler/canvas/qdeclarativetiledcanvas.cpp
src/plugins/qmlprofiler/canvas/qdeclarativetiledcanvas_p.h
Change-Id: Iad59c8d87c72a21c79c047e374c0ab689998af39
2011-11-11 09:46:25 +01:00
hjk
2492724d89
debugger: prevent watchdog timer to trigger on user commands
...
Change-Id: Ibe493b4a85d07c4aca64880fd543d14772a3b04b
Reviewed-by: hjk <qthjk@ovi.com >
2011-11-04 18:15:50 +01:00
hjk
ccfc4e032a
debugger: fix manual changing of breakpoint line numbers
...
Task-number: QTCREATORBUG-6178
Change-Id: I3e0a3cae0ee5df02ad8ceee7222bc667e61774c8
Reviewed-by: Robert Löhning <robert.loehning@nokia.com >
Reviewed-by: hjk <qthjk@ovi.com >
2011-11-04 16:32:50 +01:00
hjk
ea63113364
debugger: consolidate listing of local processes
...
Change-Id: I409fd58b3e9bb10de50e18e3658790c73e3fd521
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-11-03 13:57:07 +01:00
hjk
2b8e8cd8df
debugger: move Q_OS_WIN to dbgwinutils.h
...
Change-Id: Ic84179e34d7ef79016d7646b6502f188c00b0bac
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-11-03 11:38:12 +01:00
hjk
6583244130
debugger: remove \r from gdb output also on non-Windows
...
This helps with MinGW on Linux.
Change-Id: I6495d0606738a8ad540477dcb820c62e0a06f34c
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
Reviewed-by: hjk <qthjk@ovi.com >
2011-11-03 11:15:33 +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
hjk
755f5fc327
debugger: cleaner debugger aborting
...
Make the second "Abort Debugger" kill the gdb process directly
instead of relying on further communication.
Also fix some "unexpected" (but harmless) state transitions.
Change-Id: I0938ec76420fbd77ec4b7348819dd7f63763547f
Reviewed-by: hjk <qthjk@ovi.com >
2011-11-02 08:29:48 +01:00
hjk
ffd0571549
debugger: make "gdb startup script" directly editable
...
External files are still accessible using "source ..."
Change-Id: Icbf27302ef55b9061b69a9274cb7088798adf73d
Reviewed-by: hjk <qthjk@ovi.com >
2011-11-01 18:17:50 +01:00
hjk
7ed1064971
debugger: fix "unexpected" state changes when aborting the debugger
...
Change-Id: Icec2e3333eb019c51ab32e7bb10887dec1ce9e16
Reviewed-by: hjk <qthjk@ovi.com >
2011-10-31 16:19:17 +01:00
hjk
e4f289954e
debugger: better breakpoint state handling
...
Removal of a breakpoint while the insertion result was pending worked,
but created a lot of noise about unexpected state transitions.
Change-Id: I6c101ee9d184efb1c44f72cbff99b0481f64b0eb
Reviewed-by: hjk <qthjk@ovi.com >
2011-10-28 13:05:13 +02:00
Eike Ziller
81cce8902e
Merge remote-tracking branch 'origin/2.4'
...
Conflicts:
qtcreator.pri
src/libs/qmljs/qmljscheck.cpp
src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/debugger/gdb/remotegdbserveradapter.cpp
src/plugins/plugins.pro
src/plugins/projectexplorer/buildmanager.cpp
src/plugins/qmldesigner/designercore/metainfo/nodemetainfo.cpp
Change-Id: Id2dcebf95b94dc46c1d85908ba1d1378aaf362ac
2011-10-28 10:17:44 +02:00
Robert Loehning
35ac0251d2
Removed dead assignment
...
Change-Id: Ia4b9c27b8aa405e3e7c6e92639eb105689a0f299
Reviewed-by: hjk <qthjk@ovi.com >
2011-10-25 13:09:29 +02:00
Eike Ziller
8eb8368139
Merge remote-tracking branch 'origin/2.4'
...
Conflicts:
qtcreator.pri
src/libs/qmljs/qmljstypedescriptionreader.cpp
tests/auto/qml/qmleditor/qmlcodeformatter/tst_qmlcodeformatter.cpp
Change-Id: Id032187023bb42f259a87545ceeb3c965dd01a32
2011-10-17 14:22:32 +02:00
Kai Koehne
f8700f19ae
Debugger: Expose which languages (QML, C++, Any) an engine supports
...
Change-Id: Ia690b5cda84738c303ae7b6bd579e43313728525
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-10-13 17:21:49 +02:00