hjk
8dca664901
debugger: reduce namespace line noise
...
Change-Id: I8e4cabd8bd4a4378590daf92a647ecbbe7d0a28b
Reviewed-on: http://codereview.qt.nokia.com/2970
Reviewed-by: hjk <qthjk@ovi.com >
2011-08-15 15:13:03 +02:00
Friedemann Kleint
9e3e7d3691
Compile fix.
...
Change-Id: I6ce0d3d063cda97d55d102b8d6988934e5411846
Reviewed-on: http://codereview.qt.nokia.com/2771
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-08-09 11:12:38 +02:00
Friedemann Kleint
795d4506e6
Debugger: Fix MSVC detection.
...
Trigger AttachCore for MSVC flavours only.
Handle .dmp files on the command line.
Change-Id: I65be1ad7aef36db157a84499ff5e10d9f1e8fb97
Reviewed-on: http://codereview.qt.nokia.com/2766
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-08-09 10:39:56 +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
Friedemann Kleint
f76da43b05
Debugger: Replace virtuals by capability flags.
...
Change-Id: If09efd21dc44e356eb575bb6170356fdbd409b39
Reviewed-on: http://codereview.qt.nokia.com/2625
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: hjk <qthjk@ovi.com >
2011-08-04 14:35:18 +02:00
Friedemann Kleint
613a4cc09c
Debugger[CDB]: Re-enable grab widget.
...
Broken by 7100d29f .
Change-Id: I7c7b8e071cd3713549316be35a8f9611f46c1212
Reviewed-on: http://codereview.qt.nokia.com/2107
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com >
2011-07-25 14:11:52 +02:00
Friedemann Kleint
7c99c0cca3
Debugger[CDB]: Fix warning.
...
Change-Id: Ia844014a2e7385567e3299cc47384c60346e8cbb
Reviewed-on: http://codereview.qt.nokia.com/1445
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2011-07-11 16:32:41 +02:00
Friedemann Kleint
53295db969
Debugger[CDB]: Display more context in disassembly.
...
Emulate gdb's behaviour trying to disassemble the function.
Task-number: QTCREATORBUG-5205
Change-Id: I2f4dc9393e12324b0423734c5235758a25395fec
Reviewed-on: http://codereview.qt.nokia.com/1029
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-07-04 10:25:43 +02:00
Friedemann Kleint
9e5bcf2f4b
Debugger [CDB]: Fix module resolution.
...
Use breakpoint id as response id to identify breakpoints
in reponse to 'list breakpoint' command.
Change-Id: I31686aef0193bf2e26e38482c7efebf294a358c4
Reviewed-on: http://codereview.qt.nokia.com/940
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: hjk <qthjk@ovi.com >
2011-06-30 12:07:22 +02:00
Friedemann Kleint
90ee1cc1c9
Debugger: Add infrastructure for message tracepoints.
...
Add context menu to add a 'message tracepoint', that is,
a trace point that outputs a user message and continues.
Intended to be a replacement for manually inserting
a qDebug() into the code to understand the call sequence.
Yet to be implemented for gdb.
Change-Id: I1c303001421fbbae74d98d15d52718579350db6e
Rubber-stamped-by: hjk
Reviewed-on: http://codereview.qt.nokia.com/756
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-06-27 10:42:50 +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
Friedemann Kleint
a68aff709f
Debugger[CDB]: Do not detach on shutdown in case of console.
...
Do not use effectiveStartMode in shutdown.
Change-Id: Ia300f511f335de4a7d9d7c07e2080cecc91042e4
Reviewed-on: http://codereview.qt.nokia.com/680
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-06-23 16:45:59 +02:00
hjk
41df1fb2d3
debugger: rewrite parser for cli sub-breakpoint notifications
...
Change-Id: I971a2af2534bc650e8c604a5c2dc2e1846dbb045
Reviewed-on: http://codereview.qt.nokia.com/592
Reviewed-by: hjk <qthjk@ovi.com >
2011-06-22 12:23:46 +02:00
hjk
d647a6002e
debugger: display "sub-breakpoints"
...
<MULTIPLE> happens in constructors, inline functions, and
at other places like 'foreach' lines.
Change-Id: Ifb89b659d279f257ba8295b80a35d605820ec54b
Reviewed-on: http://codereview.qt.nokia.com/498
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: hjk <qthjk@ovi.com >
2011-06-20 11:34:22 +02:00
hjk
9e231e4407
debugger: fix expansion of object in gdb tooltips on first click
...
Change-Id: Ia157f8fb7f1b9ff8a8161c8a726d1d483b81e54f
Reviewed-on: http://codereview.qt.nokia.com/179
Reviewed-by: hjk <qthjk@ovi.com >
2011-05-27 12:22:06 +02:00
Friedemann Kleint
581765055d
Debugger [CDB]: Enable Assignment to string classes.
...
Assign to QString/QByteArray following gdbmacros.py
implementation (call resize if required, copy data into buffer).
Assign to std::[w]string only it has sufficient memory
(since std::string<>.resize cannot be called).
2011-05-17 12:19:24 +02:00
Oswald Buddenhagen
fa0127bedd
Merge remote-tracking branch 'origin/2.2'
...
Conflicts:
src/plugins/debugger/breakhandler.cpp
src/plugins/debugger/cdb/cdbengine.cpp
2011-05-16 17:32:23 +02:00
Friedemann Kleint
8da2c548f3
Debugger[CDB]: Fix console on Windows XP.
...
Attach to suspended application and doing resume manually
does not work. Use special options for console.
Reviewed-by: hjk
Tested-by: Alessandro Portale <alessandro.portale@nokia.com >
2011-05-16 12:32:51 +02:00
Oswald Buddenhagen
cfb232eba9
ConsoleProcess: undo pointless processError() => processMessage(bool error) change
2011-05-12 20:39:44 +02:00
Friedemann Kleint
b6d0f3f432
Debugger[CDB]: Correct breakpoint locations in source files.
...
Skip comments, move to end of multi-line statements and
other things.
Initial-patch-by: Erik Verbruggen <erik.verbruggen@nokia.com >
2011-05-09 17:02:46 +02:00
Thorbjørn Lindeijer
a547aee827
Introduced capabilities for OperateByInstruction and RunToLine
...
The ScriptEngine does not support these actions, so make sure they are
disabled in the debugger menu.
Reviewed-by: hjk
Task-number: QTCREATORBUG-2749
2011-05-09 13:13:14 +02:00
Friedemann Kleint
a05e5da60f
Compiler warnings.
2011-05-09 09:49:42 +02:00
hjk
c620749b95
debugger: introduce watchpoint-by-expression
2011-05-09 09:04:55 +02:00
Tobias Hunger
aa2acec14c
Fix/add copyright headers
...
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Friedemann Kleint
e7cb7471c0
Debugger: Fix Action enabling, implement breakOnMain for CDB.
2011-05-04 15:40:15 +02:00
Friedemann Kleint
6bb08f1bf9
Debugger: Add setting for CDB console.
...
Task-number: QTCREATORBUG-4762
2011-05-04 09:40:51 +02:00
Friedemann Kleint
c5a40e9e63
Debugger[CDB]: Use file normalization function from utils.
...
Remove complicated/expensive function in dbgwinutils
in favour of the utils one (improved to upper case
the drive letter) as it is sufficient now with
the improved checking in editor manager/location mark.
2011-04-28 11:11:34 +02:00
Friedemann Kleint
5a75276fa0
Debugger: Use base class PID mechanism in CDB.
...
Fix base engine to raise app only in applicable modes.
2011-04-28 10:02:34 +02:00
Friedemann Kleint
2caf050dcd
Compile fix.
2011-04-21 15:56:26 +02:00
Friedemann Kleint
c834720710
Debugger[CDB]: Interrupt to fetch memory if required.
2011-04-19 13:57:59 +02:00
con
5b02bf94a8
Merge remote branch 'origin/2.2'
...
Conflicts:
qtcreator.pri
src/plugins/debugger/breakhandler.cpp
src/plugins/qt4projectmanager/qtversionmanager.cpp
2011-04-18 13:57:07 +02:00
Friedemann Kleint
26caedddf7
Debugger: Reduce log severity of locals errors.
...
Preventing the log view from popping up.
Task-number: QTCREATORBUG-4524
Reviewed-by: hjk
2011-04-18 11:51:44 +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
Friedemann Kleint
292119bb6a
Debugger[CDB]: Use new disassembler structures.
...
Parse CDB's ASM output, set it up with source line.
Move convenience to add source lines into DisassemblerLines
(cached).
2011-04-13 13:56:53 +02:00
Friedemann Kleint
d146dd67f3
Debugger[CDB]: Fix assembly mode stepping.
...
Snapped back to source mode as the pending variable was not set.
Reviewed-by: hjk
2011-04-13 12:56:42 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
hjk
82f3e788f6
debugger: re-work DisassemblerLine structure
2011-04-12 17:33:08 +02:00
Friedemann Kleint
28d5526459
Debugger[CDB]: Fix handling of shadowed variables.
...
Fix name formatting and algorithm to find uninitialized
variables to use reverse order in case locals of the same
name occur in a scope.
Reviewed-by: hjk
Task-number: QTCREATORBUG-4475
2011-04-12 11:57:57 +02:00
Friedemann Kleint
6cf2cf8605
Debugger: Fix warning, remove unused AttachTcf mode.
2011-04-08 16:04:53 +02:00
Friedemann Kleint
09a3615191
Debugger: Fix change-indication of registers.
...
Emit dataChanged() on changed values.
2011-04-06 14:07:09 +02:00
Bill King
5e372a165f
Merge branch '2.2'
...
Conflicts:
src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
src/plugins/qt4projectmanager/qt-maemo/qt4maemotarget.cpp
src/plugins/qt4projectmanager/qt-maemo/qt4maemotarget.h
2011-04-05 16:43:24 +02:00
Thorbjørn Lindeijer
add9dd288d
Fixed value of DisassemblerCapability
...
Was the same as the ReloadModuleCapability.
Reviewed-by: Friedemann Kleint
2011-04-01 19:48:55 +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
Olivier Goffart
720a86c9fc
Compilation fixes with the QStringBuilder changes in Qt master
...
QStringBuilder also works with QByteArray now.
Which means some of the implicit conversions do not work anymore
2011-03-30 15:18:45 +02:00
Friedemann Kleint
77999ce204
Debugger[CDB]: Enable tooltips for class members of 'this'.
...
Look if 'this.x' exists if 'x' cannot be found as a local variable.
Enable filtering by nested names in tooltip treeview ('this.x').
2011-03-29 12:29:10 +02:00
hjk
7f6b529a48
debugger: Merge 'fork' and 'vfork' breakpoints
...
Reviewed-by: Friedemann Kleint
2011-03-29 09:59:19 +02:00
Friedemann Kleint
435b4608d9
Debugger[CDB]: Add a pretense to breakpoint conditions.
...
Add the infrastructure for checking on breakpoint conditions
on the QtCreator side (for conditions, bitfield watchpoints).
Have cdb evaluate breakpoint conditions as integer expressions.
2011-03-23 15:08:57 +01:00
Tobias Hunger
b2df065b56
Use distinct ABIs for MSVC versions
...
Use a distinct ABI OS flavor for each of the supported MSVC versions.
Task-number: QTCREATORBUG-4129
2011-03-21 15:46:42 +01:00
Friedemann Kleint
0ae94ffc4d
Debugger[CDB]: Fix breakpoint context menu for CDB.
...
Immediately report known data back when settings breakpoints
so that line number/enabled is correct in the handler.
2011-03-16 13:39:58 +01:00
Friedemann Kleint
9771cdbf9d
Debugger[CDB]: Fix warning about invalid breakpoint on 'step out'.
...
Do not display internal breakpoint id=10000.
2011-03-16 11:55:24 +01:00