debugger: rework dumping arrays of plain data
Simple array data can be fetched in one go.
The "normal" way gdb asks the server for contents is one item
at a time, at ~3ms per round trip. Now we get 2000 in 200ms.
This also introduces a re-usable readRawMemory function and
removes a few checkAccess calls which will be triggered anyways.
Change-Id: Ic07a3d6593fd2ea45f7a8058509118fe22a845bb
Reviewed-by:
hjk <qthjk@ovi.com>
Showing
- share/qtcreator/dumper/bridge.py 25 additions, 0 deletionsshare/qtcreator/dumper/bridge.py
- share/qtcreator/dumper/dumper.py 78 additions, 122 deletionsshare/qtcreator/dumper/dumper.py
- share/qtcreator/dumper/qttypes.py 4 additions, 6 deletionsshare/qtcreator/dumper/qttypes.py
- src/plugins/debugger/watchutils.cpp 90 additions, 34 deletionssrc/plugins/debugger/watchutils.cpp
- src/plugins/debugger/watchutils.h 10 additions, 1 deletionsrc/plugins/debugger/watchutils.h
- tests/manual/debugger/simple/simple_test_app.cpp 4 additions, 4 deletionstests/manual/debugger/simple/simple_test_app.cpp
Loading
Please register or sign in to comment