Commit Graph

83 Commits

Author SHA1 Message Date
Tobias Hunger
7a0e15b14e Fix spelling in dissassemble method
Krazy was complaining about this.

Reviewed-by: Friedemann Kleint
2010-11-03 12:45:35 +01:00
Friedemann Kleint
6510a749b7 ProjectExplorer: Move ToolChainType enumeration into separate Header.
Acked-By: dt
2010-11-01 14:25:24 +01:00
Oswald Buddenhagen
354c4d868d fix error message and source in the TS files 2010-10-28 14:28:25 +02:00
hjk
6e37beaf53 Debugger [CDB]: Release COM interfaces on RunControl finished.
Ensure that at most one instance of the CDBEngine is alive.
Prevent inconsistent debugger states if several sessions are started.
Squashed cherry-picked commits from master correcting the
plugin state handling (2efdeb5cd0,
57f7616286).

Reviewed-by: hjk
Task-number: QTCREATORBUG-2894
(cherry picked from commit 5a5ba58dc9)
2010-10-27 11:51:20 +02:00
Friedemann Kleint
fb82c78086 Debugger: Fix CDB shutdown warnings.
Protect endInferior() from repeated invocation.

Reviewed-by: hjk
Task-number: QTCREATORBUG-2681
2010-10-11 16:37:19 +02:00
Friedemann Kleint
82f80d5403 Debugger[CDB]: Do not evaluate watch expressions at all.
setError() on them instead (should there be any from
a session mixup). Give the session engine watcher
capabilities and ensure 'Remove watch item' is enabled
for the session engine by checking the debugger state.

Reviewed-by: hjk
2010-10-11 12:59:49 +02:00
Friedemann Kleint
90872c632d Debugger[CDB]: Fix breakpoints.
Reviewed-by: hjk
Reviewed-by: aep <arvid.picciani@nokia.com>
Task-number: QTCREATORBUG-2612
2010-10-06 13:39:21 +02:00
Friedemann Kleint
58865c35b0 Debugger[CDB]: Handle 'enabled' configuration setting.
Pass on error message when engine creation fails.

Reviewed-by: hjk
Task-number: QTCREATORBUG-2608
2010-10-05 14:30:26 +02:00
Friedemann Kleint
36709fd20f Debugger[CDB]: Do not kill debuggee when aborting attach to running.
Reviewed-by: hjk
2010-09-30 12:15:08 +02:00
Jarek Kobus
da79614008 Translator corrections 2010-09-29 12:48:50 +02:00
Friedemann Kleint
8d6f67f594 Debugger: List break on catch/throw as such and map names in engine.
Introduce special setting 'Stop on exception' for CDB.
Reviewed-by: hjk
2010-09-28 16:42:21 +02:00
Friedemann Kleint
19a1210376 L10n: tr()-fixes. 2010-09-23 15:18:07 +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
Friedemann Kleint
1d978a3618 Debugger: Sanitize Datatypes, part 2: Stackframes.
Make address a quint64. Enable DisassemblerViewAgent
to match the disassembly-addresses by converting the numbers,
making it more robust. Remove the complicated formatting needed
for CDB.
2010-09-21 15:12:33 +02:00
Friedemann Kleint
83e60a1747 Debugger: Unexport GdbEngine, d-pointer for run control. 2010-09-14 08:34:07 +02:00
hjk
7457083bab debugger: only update variables that are operated on 2010-09-13 08:32:37 +02:00
hjk
4cbbe366af debugger: make a 'type' a QByteArray, not a QString
Saves lots of conversion.
2010-09-01 17:36:09 +02:00
hjk
b30ef6210b debugger: register related refactoring (common code) 2010-09-01 13:56:51 +02:00
hjk
5074001bf0 debugger: fix colouring of unchanged register contents with MSVC
Reviewed-by: Alessandro Portale
Task-number: QTCREATORBUG-2119
2010-09-01 13:37:07 +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
Joerg Bornemann
207e0062f8 cdb plugin: superfluous and untranslated message removed 2010-07-22 17:41:42 +02:00
Joerg Bornemann
1adc86964f CdbEnginePrivate::endDebugging don't show error message on success 2010-07-21 14:43:15 +02:00
hjk
2f2c3afad1 debugger: fix warning
done by Robert
2010-07-15 08:36:50 +02:00
Friedemann Kleint
0b527bfdfe Fix CDB/trkgdbadapter. 2010-07-14 17:49:18 +02:00
Robert Loehning
3bf0789464 Compile fixes. 2010-07-14 17:49:17 +02:00
Robert Loehning
c69cad48f9 debugger: Compile fixes 2010-07-14 17:49:16 +02:00
Robert Loehning
f88a010a41 debugger: state compile fix on Windows 2010-07-14 17:49:16 +02:00
hjk
e760700f0f debugger: overhaul "state machine"
This mainly allows for more precise shutdown and tightens the set
of allowed transitions.
2010-07-14 17:49:16 +02:00
hjk
6089bc1b9e debugger: rename EngineStart to EngineSetup 2010-07-14 17:49:16 +02:00
hjk
9e7a456457 debugger: refactor startup logic 2010-07-14 17:49:16 +02:00
hjk
85243e19a9 debugger: encapsulate part of the startup logic in the base class 2010-07-14 17:49:15 +02:00
Tobias Hunger
fa35bbc5ef Build fix on windows 2010-07-08 14:53:18 +02:00
hjk
7d2f56d3df debugger: rename CdbDebugEngine into CdbEngine
Fits better into the scheme and makes grep^H^H^H^H Ctrl-F-ing easier.
2010-07-08 13:51:29 +02:00