Commit Graph

84 Commits

Author SHA1 Message Date
hjk
0ac8388847 debugger: fix some encoding issues, modify manual tests 2010-04-08 14:39:21 +02:00
hjk
b70c0978d1 debugger: rework error handling in python dumpers 2010-04-08 14:08:40 +02:00
hjk
66a7cc2830 debugger: show contents of pointer instead of its address in the python dumpers 2010-04-07 18:18:45 +02:00
Friedemann Kleint
17884141da Debugger/gdb: Fix Python temporary file creation Windows.
Reviewed-by: hjk
2010-03-30 16:44:26 +02:00
hjk
89ae26419c debugger: use tempfile.NamedTemporaryFile instead of tempfile.mkstemp 2010-03-25 12:29:51 +01:00
hjk
59af793953 debugger: polish address display. also remove the mostly unused 'stored' address 2010-03-23 14:48:32 +01:00
hjk
337f3eef2e debugger: remove accidentally committed debug output 2010-03-23 11:49:36 +01:00
hjk
4d9900a1b9 debugger: more robust parsing of gdb cli output in the presence of spurious
warnings
2010-03-22 13:12:53 +01:00
hjk
ef44cb24d2 debugger: fix expanding pointers inside anonymous namepaces 2010-03-18 18:10:28 +01:00
hjk
72d90fd5ee debugger: merge multiple fancy views of the same object 2010-03-17 13:25:29 +01:00
hjk
d80d68b73b debugger: base individual formats on object addresses, not on inames 2010-03-17 12:38:37 +01:00
hjk
ba17fb205a debugger: update peek&poke 3 example 2010-03-17 11:44:29 +01:00
hjk
c2b77a2274 debugger: fix evaluation of complex watchers 2010-03-16 18:45:34 +01:00
hjk
9db033f672 debugger: make python dumper more robust when python modules are missing 2010-03-16 18:45:34 +01:00
hjk
59429c1005 debugger: remove inclusion of unneeded python module 2010-03-16 18:45:34 +01:00
hjk
ed35ec3d5a debugger: use pseudo-enums instead of magical constants in python dumpers 2010-03-16 12:08:33 +01:00
hjk
e8936ad9d2 debugger: code cosmetics for custom displays 2010-03-16 12:08:33 +01:00
hjk
0cd06f55bc debugger: don't hard code typeformats except for ints and strings 2010-03-16 12:08:33 +01:00
hjk
463ac5d689 debugger: start reviving graphical data display 2010-03-15 12:12:43 +01:00
hjk
c8a61cc8f2 debugger: implement selected of string encoding per pointer type/individual pointer 2010-03-11 18:56:28 +01:00
hjk
693013fa14 debugger: fix recent regression in partially anonymous structures 2010-03-10 15:26:37 +01:00
hjk
96eb8e962a debugger: always remove the extra nesting level for 'this' 2010-03-09 12:26:18 +01:00
hjk
8e522c92ee debugger: really don't use curses on windows 2010-03-08 14:46:28 +01:00
hjk
62811941de debugger: fix display of QContainer<T>::NestedType 2010-03-08 14:46:28 +01:00
Thiago Macieira
20429a84aa Use __builtin__.dir instead of dir in Python
Somehow, some gdb define a string with the name 'gdb' and we can't
find where. But be on the safe side and use the builtin function
always.

Reviewed-By: hjk
2010-03-05 16:44:49 +01:00
hjk
5d9e17535b debugger: work on QAbstractItemModel dumper (still defuct) 2010-03-05 16:44:49 +01:00
hjk
b1ab5a6948 debugger: disable currently broken QAbstractItemModel dumper 2010-03-05 16:44:49 +01:00
hjk
5def7f3832 debugger: suppress generation of breakpoint information in the new dumpers
Functionality has been moved back to the plugin for now.
2010-03-05 10:20:20 +01:00
hjk
a5b7f7d3c5 debugger: fix testArray() test case 2010-03-05 09:48:19 +01:00
hjk
7937c292a1 debugger: fix display of pointer values in new dumpers 2010-03-02 09:44:36 +01:00
hjk
73ef5e33ea debugger: properly display function pointers with python 2010-03-01 10:28:34 +01:00
hjk
ac7b18e8b0 debugger: show structure of nested anonymous structs and unions properly 2010-02-25 14:31:14 +01:00
hjk
f65be39a5d debugger: sometimes a gdb.Value does not seem to have an address
Happens e.g. in gdb sources itself: cp_canonicalize_string in cp-support.c
2010-02-17 17:08:02 +01:00
hjk
e3e6797fe5 debugger: fix display and editing of nested anonymous structures 2010-02-15 17:02:08 +01:00
hjk
47fa65be6c debugger: some basic support for 'catch catch' and 'catch throw'
Hidden in the Breakpoints context menu.
2010-02-11 17:46:05 +01:00
hjk
a2c8394088 debugger: fix assignment to array members 2010-02-11 14:36:27 +01:00
hjk
25f0bd7cb7 debugger: remove wrong dumper output file redirection 2010-02-11 10:52:26 +01:00
hjk
5526e5b207 debugger: simplify dumper code 2010-02-11 10:52:26 +01:00
hjk
27fa4c0440 debugger: distinguish between "step into" and "step over" in TrkAdapter. 2010-02-05 16:00:54 +01:00
hjk
4cba453a1e debugger: let python handle the listing of breakpoints
TODO: only transfer deltas
2010-02-05 15:23:44 +01:00
hjk
b35a4096c6 debugger: start using TRK's 'multi instruction step' facility 2010-02-04 09:57:38 +01:00
Friedemann Kleint
40f0d4d7c3 Debuggers: Enable Python-dumpers for Windows-built gdb.
Engine: Introduce convention of setting the PYTHONPATH
variable to <path-to-gdb>\python2.5 for WIndows.

Dumpers: Import 'curses' depending on platform, fix Syntax
for 2.5, catch file lock errors by os.remove.
Reviewed-by: hjk
2010-02-03 16:52:37 +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
hjk
d00fba8e2b debugger: work around 'optimized out' function parameters 2010-01-29 15:48:17 +01:00
hjk
f64c5e342a debugger: fix after disabling listing breakpoints in the python part 2010-01-21 17:19:09 +01:00
hjk
ba877b6369 debugger: prepare for outputting breakpoints from the dumpers 2010-01-21 17:19:08 +01:00
hjk
8510d887b8 debugger: dumper for TBuf<N> 2010-01-15 15:06:40 +01:00
hjk
dd118df7cb debugger: workaround failing 'info locals' on gdb 6.8-symbianelf 2010-01-15 11:38:20 +01:00
hjk
73ee2610fe debugger: more robust QDateTime and QFileInfo dumper for gdb versions without
call()
2010-01-12 10:53:30 +01:00
hjk
336dc4e53b debugger: fix reporting of "no locals" 2010-01-12 10:53:30 +01:00