Commit Graph

144 Commits

Author SHA1 Message Date
hjk
aff42fec75 debugger: re-enable "data drill down on mouse hover" 2009-10-01 18:01:53 +02:00
Friedemann Kleint
74a3828f19 Purge out include files in exported headers 2009-10-01 16:38:08 +02:00
hjk
ccd37a6655 debugger: make 'address column' in stack and breakpoint view optional 2009-10-01 11:42:04 +02:00
hjk
3b280a3ad3 debugger: fix 'Detach debugger' action 2009-09-30 13:07:14 +02:00
hjk
93902e5d0a debugger: make 'qtcreator -debug <corefile>' work 2009-09-30 12:27:44 +02:00
hjk
c27d8b7280 debugger: move DisassemblerViewAgent from plugin to manager 2009-09-29 16:32:54 +02:00
hjk
573ca3ad85 debugger: rename StepByInstruction into OperateByInstruction 2009-09-29 14:47:27 +02:00
Friedemann Kleint
ad294f8467 Project explorer: Make public headers compile with NO_CAST_FROM_ASCII
.. and purge unneeded includes.
2009-09-29 11:39:55 +02:00
Friedemann Kleint
90470771fd Debugger: Export DebuggerManager and DebuggerStartParameters.
For device debugging. Move both from namespace
Debugger::Internal to Debugger, export them, give
DebuggerManager a static instance().
2009-09-25 16:01:28 +02:00
Friedemann Kleint
ec7c77ca23 Debugger: Work towards exporting DebuggerManager: Introduce d.
Clean out header.
2009-09-25 15:02:16 +02:00
Friedemann Kleint
978cf4bda8 Rename IRunConfigurationRunner -> IRunControlFactory...
and ApplicationRunConfiguration to LocalApplicationRunConfiguration,
preparing remote debugging. Change the interface canRun() to be const,
run() to create() (since it does not run anything), use references
to the QSharedPointer<Foo>. Introduce d-Pointer and remove
unneeded headers from ProjectExplorerPlugin and add missing includes
everywhere.
2009-09-25 11:35:44 +02:00
hjk
20b9258d9e debugger: refactoring
Intergrate per-engine state tracking with the global running/stopped state.
2009-09-25 08:36:44 +02:00
hjk
f5c6f667d1 debugger: work on remote debugging using plain gdbserver 2009-09-24 10:54:51 +02:00
hjk
063d13e00f debugger: work on general shutdown handling 2009-09-24 10:54:50 +02:00
hjk
46952c04eb act on http://bugreports.qt.nokia.com/browse/QTCREATORBUG-123 2009-09-23 16:11:25 +02:00
hjk
378036c916 debugger: make attaching to running process work again 2009-09-23 15:28:50 +02:00
hjk
ae2cfdaa53 some cleanup 2009-09-22 08:11:30 +02:00
hjk
eb6776e05e don't reset location marker if it would stay on the same line 2009-09-22 08:11:30 +02:00
hjk
fba9ab5fdc debugger: refactoring
move the start mode variable to DebuggerStartParameters
2009-09-17 16:22:30 +02:00
hjk
e642b0b1b6 debugger: work on startup 2009-09-17 16:22:29 +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
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
abdc85f070 debugger: register view cosmetics
Show the current number base in the view.
2009-08-13 16:16:19 +02:00
hjk
6fd0433cd6 debugger: pop up a window when the application receives a signal like SIGSEGV
Just mentioning it in the status bar is often not enough to take notice.
2009-08-13 15:01:57 +02:00
hjk
89ffffc183 debugger: use the bineditor to show memory dumps 2009-08-12 14:49:15 +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
a46e71d0b6 Debugger: Fixed assert when debugging a core-file without project.
Task-number: 256215
2009-07-31 09:07:46 +02:00
Friedemann Kleint
da36d051a9 Debugger: Fix debugging external executables/attaching to pid.
... by creating a default run configuration.
2009-07-28 09:10:35 +02:00
con
091f372723 Making the find tool bar be more connected to the searched text. 2009-07-21 13:44:30 +02:00
con
bb44837d7c Remove usage of QToolBar from debugger tool bar. 2009-07-16 18:06:38 +02:00
hjk
b410ddc4bd debugger: hopefully _finally_ fix the "vanishing helper checkmark" problem 2009-07-10 14:39:12 +02:00
con
95bf1681be Clean up the menus' separators. 2009-07-09 18:27:56 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Friedemann Kleint
86284e43a6 Fixed arguments glitch (ignore empty arguments). 2009-06-16 13:44:45 +02: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
Thorbjørn Lindeijer
0d8456a73e Some capitalization fixes 2009-06-11 15:14:40 +02:00
mae
a09a62af78 Create the submenu Debug/Start_Debugging. This does not
win any beauty design contents, but is a workaround for
the overlong debug menu. This needs cleanup for 1.3.
2009-06-08 19:28:38 +02:00
hjk
c6db354387 debugger: disable reverse debugging for 1.2 as Gui is unfinished 2009-06-04 16:15:01 +02:00
hjk
37ea6c42a3 debugger: move "start action" to the begin of the menu, also disable Tcf 2009-06-04 16:08:34 +02:00
Oswald Buddenhagen
d2a8449bea ifdef Q_?S_* cleanup
- clear up some Q_OS_LINUX vs. Q_OS_UNIX
- clear up Q_WS_* vs. Q_OS_* (relatively theoretical exercise)
- use proper #if-#else cascades instead of free-standing #ifs
2009-06-03 20:54:59 +02:00
dt
63a0225ea9 Fix some insignificant memory leaks.
Reviewed-By: hjk
2009-06-03 13:53:45 +02:00
Friedemann Kleint
09380afe90 Get attaching to a crashed Windows process right (CDB).
Handle  the 2nd parameter correctly as a event id
to be used for a handshake. Introduce a special mode
when attaching to crashed processes.
Code cleanup, pass StartParameters along to startDebugger.
2009-05-26 16:27:24 +02:00
kh
9943ec7d0f Fix crash on shutdown.
The onModeChanged gets always called, even after shutdown where we
already had deleted the DebuggerManager. Don't access the 0 pointer.
2009-05-25 18:21:31 +02:00
hjk
5ff00c84ae debugger: basic support for reverse debugging
works only with gbd 7.0 so far.
2009-05-25 17:23:19 +02:00
Friedemann Kleint
c4a0abcda7 Enabled passing on PIDs from the command line to the debugger.
Introduced struct DebuggerStartParameters to pass around
start parameters, removing the need for the engines to
access private members of DebuggerManager. Pass it
to DebuggerManager::startNewDebugger() and move
the GUI parts of that function into DebuggerPlugin,
making it possible to create the struct from command line
parameters. Introduce command line parsing with a few more
-enable-xx options. Introduce warning() to debugger panel
in the CDB engine.

On this occasion, clean out a few trailing whitespaces.
2009-05-25 16:22:11 +02:00
con
8951302ab2 Fix floating dock widget support in debug mode.
The dock widget visibility was not saved/restored correctly, and pulling
floating dock widgets back into the layout didn't remove the header
widget in case of locked mode.
Now we track visibility and floating state of dock widgets directly.
2009-05-25 15:27:56 +02:00
hjk
fe7e88a6b5 debugger: rename resource path for generic images from 'gdbdebugger' to 'debugger' 2009-05-19 15:35:47 +02:00
hjk
f63f18b840 debugger: put gdb related stuff into directory of its own 2009-05-19 15:23:12 +02:00