Commit Graph

38 Commits

Author SHA1 Message Date
hjk
a699e6d56a debugger: put sort marker on the right column 2010-03-29 16:19:29 +02:00
Friedemann Kleint
0146926f19 Debugger: Improve engine detection.
Try to detect engine by looking at toolchain, executable,
attach mode. Find out path to executable in attach to running
dialog.

Reviewed-by: hjk
2010-03-17 10:57:19 +01:00
hjk
0f7a6a20d4 debugger: Sort process ID column numerically in "Attach to process" dialog 2010-03-09 12:26:18 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Friedemann Kleint
f5c8389aab Debugger/Attach to running: Default to ps if /proc does not exist.
Polish the process dialog.
Task-number: QTCREATORBUG-800
2010-03-04 10:07:59 +01:00
Oswald Buddenhagen
75b42f18d8 Merge remote branch 'origin/1.3'
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
Oswald Buddenhagen
a6ca348636 remove trailing whitespace
doing it in 1.3 as well to avoid possible later conflicts
2010-01-29 21:33:57 +01:00
Friedemann Kleint
718f8fa898 Replace handcrafted filter widgets by Utils::FilterLineEdit 2009-12-16 15:58:10 +01:00
ck
b5abd7b9a6 Remote Debugging Dialog: Make it possible to choose the debugger.
Reviewed-by: hjk
2009-12-11 11:49:32 +01:00
hjk
57634ab2d1 debugger: add a line edit to specify the local executable for gdb remote
debugging

Long term that would probably better as a run configuration.
2009-12-10 16:58:54 +01:00
hjk
b3154e1b30 debugger: make remote gdb architecture user editable 2009-12-10 16:58:54 +01:00
ck
46c4f84a04 Add support for "set sysroot" for remote debugging. 2009-10-16 18:01:07 +02:00
Friedemann Kleint
22ab8d5662 Debugger: Do configuration error checking early on.
Add a configuration checking method to the Debugger manager,
depending on toolchain, wire it to the engines.
Check that in the debugger run controls.

Add a convenience method to ICore that shows a warning
message with a "Settings" button, pointing the user
to a configuration error on a settings page.

Remove leftovers of the dumper parser.
Acked-by: con <qtc-committer@nokia.com>
2009-10-08 17:23:27 +02:00
Oswald Buddenhagen
ba47987e67 purge TCF agent cra^Wstuff
it's dead code
2009-10-08 12:18:03 +02:00
Friedemann Kleint
81a8f2f927 Debugger: Improve adapter error handling
Correctly reset state on missing Symbian gdb.
Provide "settings" options.
Reviewed-by: hjk <qtc-committer@nokia.com>
2009-10-08 11:43:26 +02:00
Friedemann Kleint
5948e284bb Rename namespace Core::Utils into Utils
Also move Designer::Internal::FormWindowEditor ->
Designer::FormWindowEditor.
2009-10-05 11:06:05 +02:00
hjk
406d35acd6 debugger: let 'attach to running process' dialog activate the 'ok' button if
there's only one choice after filtering
2009-10-05 09:19:38 +02:00
hjk
378036c916 debugger: make attaching to running process work again 2009-09-23 15:28:50 +02:00
Friedemann Kleint
76c226dfdb Debugger: Fix memory display
- Watchwindow: Do not open Address dialog if menu is canceled (act = 0
  matching the unitialized unknown memory action)
- Actually pass the address of the dialog to the agent
- Make the "Open Memory editor..." action always visible to be able to
  look at const char *x pointing at y
- Improve the address dialog with checking and dialog button box
- Explicitly pass the quint64 around
- Translate & purge
2009-08-19 14:41:51 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Thiago Macieira
50fb8bfb03 Don't crash when the /proc/<pid>/stat file failed to open.
This may happen if a process exits after we got the /proc listing. If
we fail to open the file, readAll() returns empty, which means split()
returns an empty list, which means you can't do at(1).
2009-08-07 13:30:35 +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
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
hjk
cce1c7f78e debugger: rename 'win' subdir to 'shared' 2009-05-19 15:45:58 +02:00
hjk
2fce747a6d debugger: start work "Target Communication Framework" "frontend" 2009-05-07 16:51:02 +02:00
hjk
f87df9e72e debugger: handle error when remote server does not respond 2009-05-07 09:35:11 +02:00
hjk
3d84da2b4d debugger: initial work to start a remote gdbserver 2009-05-06 16:12:22 +02:00
hjk
9ae53e49ca debugger: rename 'AttachRemote' to 'StartRemote' 2009-05-06 13:27:11 +02:00
hjk
b2598d0030 debugger: initial work on remote debugging 2009-05-04 14:48:06 +02:00
Thorbjørn Lindeijer
268f460f7d Fixed dialog title for selecting core file 2009-04-10 02:40:16 +02:00
Friedemann Kleint
355f44fe8f Fixes: Error logging, polish attach remote dialog 2009-03-05 17:30:29 +01:00
hjk
9d70760955 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-03-05 11:07:36 +01:00
hjk
1717ddf2f7 Fixes: compile fix with namespaced Qt 2009-03-05 09:46:36 +01:00
Friedemann Kleint
58c4cd8b27 Fixes: Make Attach External Dialog play nicely (exclude self)
Details: MinGW compilation
2009-03-04 16:48:13 +01:00
Friedemann Kleint
86b6c44e4e Process Listing Windows 2009-03-04 16:00:43 +01:00
hjk
07d51d0c14 Fixes: debugger: worlk on core file loading 2009-03-02 15:14:12 +01:00
hjk
00a9c05328 Fixes: debugger: forgot to add these 2009-03-02 14:04:03 +01:00