Commit Graph

157 Commits

Author SHA1 Message Date
hjk
bd65bd21f3 debugger: remove outdated comment 2009-09-23 12:13:05 +02:00
hjk
c5f13cedf9 debugger: partial refactoring of debugger engine creation 2009-09-23 12:13:05 +02:00
hjk
89861828ee debugger: merge gdb engine and symbian engine.
The trk parts are an 'adapter' in the gdb engine.
2009-09-23 09:56:12 +02:00
hjk
634e4e5485 debugger: cleanup 2009-09-17 16:22:30 +02:00
hjk
e642b0b1b6 debugger: work on startup 2009-09-17 16:22:29 +02:00
hjk
67e041940a debugger: break long lines 2009-09-17 16:22:29 +02:00
hjk
b765124163 debugger: refactoring
remove DebuggerRunControl from DebuggerManager
use typedef for QSharedPointer<DebuggerStartParameters>
2009-09-17 13:32:20 +02:00
hjk
10a6829aaf debugger: refactorization
merge DebuggerRunControl::m_dumperLibrary{,Location} into StartParameters
2009-09-17 12:48:11 +02:00
hjk
903a50a6ef debugger: work on trk integration 2009-09-10 13:59:21 +02:00
hjk
058b55adc5 debugger: work on trk integration 2009-09-10 13:14:51 +02:00
hjk
ffaa42e585 debugger: merge trk adapter into debugger sources 2009-09-09 17:25:02 +02:00
hjk
5a4a376949 debugger: fix start up of scriptengine when discovering a script 2009-09-02 10:44:20 +02:00
hjk
452f108ac7 debugger: fixes and improvements related to the Locals display
Split the concepts 'enabled' and 'editable' in the dumper output
Disable "<not in scope>" entries, also fix their type.
Fix glitch in type beautification for display
Find reason for failing bulk updates.
2009-08-31 16:05:55 +02:00
hjk
7cd8ba8af4 debugger: disable bulk updates 2009-08-28 17:32:04 +02:00
hjk
27382f753c debuger: fix insertion of nested WatchData 2009-08-28 15:56:58 +02:00
Christian Kamm
92d8a27178 Remove duplicate connect of StepByInstruction triggered signal.
Reviewed-by: hjk
2009-08-27 14:15:15 +02:00
dt
9f91842813 Compile without rtti support
Since we can easily do that, just do it. No gurantee that we aren't
going to use rtti in the future.
2009-08-27 12:12:35 +02:00
hjk
cce7bf9fa2 debugger: clean register view after debugging finished 2009-08-18 17:02:48 +02:00
hjk
1e7cee620b debugger: make register contents editable (gdb only for now) 2009-08-18 08:37:53 +02:00
Friedemann Kleint
9fe978fe39 CDB: Compile, new Disassembler architecture. 2009-08-17 16:03:27 +02:00
hjk
9febb0bcb8 debugger: remove old disassembler view and handler
It is replaced by a real editor in e82d6c7b0.
2009-08-17 13:34:15 +02:00
hjk
e82d6c7b05 debugger: create a disassembler view as main editor
"Stepping instruction wise" and "display disassembler" mode is now toggled by a
single action. This also allows to re-use F10 and F11 as keyboard shortcut.

Missing: caching of disassembler output, removal of old disassembler view.
2009-08-17 13:18:54 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
dt
e92ad815d8 Add a default: label to the ToolChainType switches so that gcc doesn't
complain.

Added a Q_ASSERT to the case that shouldn't happen.
2009-08-13 18:05:12 +02:00
hjk
b104b43fa0 sessionmanager: replace signal sessionUnloaded() by aboutToUnloadSession()
sessionUnloaded was sometimes emitted when the session manager was in
an unsafe state (between delete m_file and  m_file = new ...) leading
to crashes when slots connected to the signal accessed the sessionmanager
again. This patch moves the signal emission before  delete m_file.

Reviewed-by: dt
2009-08-13 17:10:53 +02:00
hjk
a981c5c985 debugger: shutdown debugger when switching sessions
The code was already there, but disabled as it led to a crash during
Creator startup due to a spurious "sessionUnload" emission.
2009-08-13 16:47:41 +02:00
hjk
4fcedc9a08 debugger: fix resizing of the status message label 2009-08-13 13:18:33 +02:00
hjk
71302eab8f debugger: re-enable all dumpers that are usable in bootstrapped applications 2009-08-13 13:18:32 +02:00
hjk
89ffffc183 debugger: use the bineditor to show memory dumps 2009-08-12 14:49:15 +02:00
Friedemann Kleint
894febbadf Debugger: Make use of the "displayedtype" attribute.
Fix "displayedtype" in CDB, display it elsewhere.
Log debugger settings in DebuggerManager startup.
Acked-by: hjk <qtc-committer@nokia.com>
2009-08-12 11:21:44 +02:00
con
df31a8742e Fix resetting to default layout in case of floating widgets. 2009-08-11 16:38:53 +02:00
con
0fee3776e8 Extract the special mainwindow behavior of the debug mode into class. 2009-08-06 16:35:22 +02:00
Friedemann Kleint
1cad9748cc Fixed tr()-glitches. 2009-07-30 16:44:16 +02:00
con
6a88525aa3 Some more QToolBar changes. 2009-07-16 18:08:41 +02:00
dt
e7de23ea0a Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-07-15 17:44:16 +02:00
dt
54bbcc4a7c Mention possible locations of the debugging helper in the error dialog
Requires a lot of trivial forwarding.
2009-07-15 17:41:45 +02:00
Friedemann Kleint
e917eeacb9 Debugger: Alert on stop in the debugger manager. 2009-07-15 16:50:49 +02:00
hjk
ad46f1286f Revert "Enabled the use of Debugger-specific watch/locals models."
This reverts commit abf5e3ddc3.
2009-07-13 09:11:07 +02:00
Friedemann Kleint
abf5e3ddc3 Enabled the use of Debugger-specific watch/locals models.
- Modified WatchModel to handle storage of an hierarchy
  of WatchItems.
- Factored out code for asynchronous population to
  AsyncWatchModel and added a mixin for convenient
  handling
- Added base class for synchronous models.
- Implement simple, synchronous models for CDB, greatly
  simplifying code and finally getting manual
  expansion right.
Signed-off-by: hjk <qtc-committer@nokia.com>
2009-07-10 14:36:28 +02:00
hjk
013437cfab debugger: add widget watchers by mouse click in the debugged application.
The option is hidden in the context menu.
Currently the application must be stopped.
2009-07-01 14:15:44 +02:00
hjk
2a959f47a4 debugger: use an expandable tree in the debugger tooltip 2009-06-24 12:31:09 +02:00
hjk
920880eb96 debugger: fix crash on "recheck debugging helper" when not debugging 2009-06-19 13:11:08 +02:00
hjk
3545c822c9 debugger: put some color into the outputpane 2009-06-19 12:05:23 +02:00
hjk
fba1d8d8f3 debugger: slightly more correct wording of the debugger helper explanation 2009-06-19 09:31:21 +02:00
Friedemann Kleint
12ac317d0a Obtain the toolchain type and choose debugger engine accordingly. 2009-06-18 15:16:18 +02:00
hjk
609f4a437b debugger: Rework watch model.
It's now properly using canFetchMore/fetchMore. cdb is not yet ported.
2009-06-17 16:00:04 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
hjk
b052ce2c21 debugger: add a 'break at main' checkbox in the 'start and debug external' dialog 2009-06-12 12:57:22 +02:00
hjk
94b1b1fd7b debugger: move 'break by function' menu items
Move menu to from the main debug window to the context menu of the
breakpoints view to avoid clutter in the main menus.
2009-06-12 11:55:42 +02:00
hjk
957a8f3479 debugger: some encoding correctness 2009-05-29 10:35:29 +02:00