Commit Graph

574 Commits

Author SHA1 Message Date
hjk
b576f50228 debugger: some polishing after fbe6f96869
Mac gdb does not like the idea.

Reviewed-by: Joerg Bornemann
2010-10-14 13:06:46 +02:00
hjk
fbe6f96869 debugger: Do not automatically kill gdb on internal errors.
This improves overall debugging experience after some "mostly harmless" errors.

Reviewed-by: Friedemann Kleint
Task-number: QTCREATORBUG-2004
2010-10-12 16:05:38 +02:00
hjk
14ec1b793f debugger: fix debugger state when gdb stops faster than it acknowledges the order to run.
Reviewed-by: Friedemann Kleint
2010-10-12 13:33:20 +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
Friedemann Kleint
d5596bf169 Debugger: Remove unused 'precise breakpoints' setting.
Remove break window menu action to toggle 'Full path'.
Remove gdb setting 'Use full path'.
Clean up break dialog:
- Set PathChooser::ExpectedKind before value (showed up in red).
- Use PathChooser::setPath()/path() instead of lineedit text
- Return thread spec
- Add validator for ignorecount as for breakcondition.ui
Remove unused fields from breakcondition.ui

Reviewed-by: hjk
Task-number: QTCREATORBUG-2593
2010-10-04 16:04:38 +02:00
hjk
2883af4bb2 debugger: properly initialize m_hasInferiorThreadList
Reviewed-by: Friedemann Kleint
2010-09-30 09:52:30 +02:00
Friedemann Kleint
bf8dedaade Debugger: Handle synchronous startup fail (Windows).
Make DebuggerRunner handle QProcess::startFailed
correctly on Windows (synchronous signal emission
within startDebugger()).
Remove debug output/warnings.

Reviewed-by: hjk
2010-09-29 10:32:41 +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
hjk
ea4b64dee4 debugger: remove rarely needed "Recheck Debuggging Helper Availability"
context menu entry.

It was more a debugger debugging aid in the early days of compiled dumpers
anyway.

Reviewed-by: Friedemann Kleint
2010-09-28 13:15:42 +02:00
hjk
0f02786d16 debugger: don't mention python on Mac 2010-09-23 17:18:53 +02:00
hjk
5da888e73b debugger: don't even attempt to load the python dumpers on Mac. 2010-09-23 15:41:20 +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
034bb72dc4 debugger: make alphabetic sorting of struct members optional.
Task-number: QTCREATORBUG-1608
2010-09-23 11:17:01 +02:00
hjk
02283ea84d debugger: rename output window into log window 2010-09-22 16:22:57 +02:00
hjk
727c16a690 debugger: make adjustments of breakpoint markers on lines without code optional 2010-09-21 17:03:13 +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
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
Christian Kandeler
9c56f4ffe6 Debugger/gdb: Global setting should override start parameters.
On-device gdb is an exception, because the local installation
does not know about it.
2010-09-17 13:47:15 +02:00
hjk
bd2d160a95 debugger: suppress variable tooltips with outdated contents 2010-09-15 19:02:35 +02:00
hjk
b0fceedb5e debugger: code cosmetics 2010-09-15 16:19:57 +02:00
hjk
0c801e734e debugger: make a few stack and thread related commands discardable 2010-09-15 16:19:57 +02:00
Arvid Ephraim Picciani
0e8c3875ef Debugger: test gdb threeadlist capability
Reviewed-by: hjk
2010-09-14 14:01:57 +02:00
Arvid Ephraim Picciani
98736d256b Display thread names
extract thread names from QThread object name

Task-Number: QTCREATORBUG-382
Reviewed-by: hjk
2010-09-13 13:42:14 +02:00
hjk
7457083bab debugger: only update variables that are operated on 2010-09-13 08:32:37 +02:00
Friedemann Kleint
24cadd34a1 I10N: First translation fixes for 2.1
Fix README, some spelling errors, remove contractions,
exclamation marks, correct some plural forms, join split messages.
Add QCoreApplication::translate to non-Q_OBJECT-classes.
Fix some lupdate warnings about discarding meta-data (//:).
2010-09-10 10:51:43 +02:00
hjk
571d40a697 debugger: smother some warning that's to be expected. 2010-09-08 11:54:55 +02:00
hjk
2b92b17fd7 debugger: stability. the 'asserted' situation can legally occur. 2010-09-08 11:54:55 +02:00
hjk
98e37b3b15 debugger: don't remove corefiles that we did not create. 2010-09-07 14:26:18 +02:00
hjk
dfe15b5310 debugger: second attempt at silencing the watchdog after gdb-exit 2010-09-07 13:22:53 +02:00
hjk
51625f88b2 debugger: don't start the watch dog timer on -gdb-exit 2010-09-06 15:29:26 +02:00
hjk
715e72117d debugger: remove one of the three failure notification if a gdb binary is
not found with the remote adapter
2010-09-06 15:14:52 +02:00
hjk
053f36c45d debugger: move watch dog initialization to a better place
It was missed by the remote adapter before.
2010-09-06 11:33:31 +02:00
hjk
df8fc5a9d1 debugger: restrict accepted expressions in automatci tooltips to simple
identifiers.
2010-09-02 18:32:37 +02:00
hjk
15c7e5b342 debugger: read the user init file after the python dumpers 2010-09-02 18:17:09 +02:00
Friedemann Kleint
3a44135ed0 Debugger[gdb/MS Windows/console]: Fix attaching
Resume thread after attaching and ignore the
signal-trap that follows it.

Reviewed-by: hjk
Task-number: QTCREATORBUG-1020
2010-09-02 16:46:47 +02:00
hjk
f91ba77cee debugger: more QByteArray/type 2010-09-01 19:14:41 +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
56fd90e5cc debugger: fix spelling of synchronous
Finally.
2010-08-30 10:38:38 +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
Friedemann Kleint
f2bf0a5e42 Debugger: Move handling of 'Log timestamps' into outputwindow.
Remove some unused leftovers from DebuggerOuputWindow.
2010-08-23 14:27:24 +02:00
Christian Kandeler
0a7e4c430a gdb: Executable from start params takes precedence over global setting. 2010-08-19 14:58:29 +02:00
hjk
f9a69a5eee debugger: fix state transitions for 'Run to Line' and 'Jump to Line' 2010-08-16 15:53:15 +02:00
hjk
c438c87281 debugger: cleanup gdb command queue when inferior setup failed 2010-08-11 10:03:11 +02:00
ck
5950aedf04 Debugger/GDB: Map remote to local source file names.
Necessary for debugging with a remote gdb (as opposed to gdbserver).

Reviewed-by: kh1
2010-08-09 15:28:39 +02:00
hjk
3ce543458c debugger: start attempt to handle dwarf index data 2010-07-22 16:53:24 +02:00
hjk
0982e077f2 debugger: extend possible "modules symbols loaded" states a bit 2010-07-22 16:53:24 +02:00
hjk
aae95a24a2 debugger: improve launch progress display 2010-07-22 12:02:35 +02:00
hjk
9cbbeec6c1 debugger: move convienience function to DebuggerEngine base class 2010-07-21 14:28:29 +02:00
hjk
3ec1fee05d debugger: fix dumper preloading 2010-07-21 13:44:49 +02:00