forked from qt-creator/qt-creator
Debugger: Use direct memory instead of member access
This introduces a dumper types abstraction layer with classes
Dumper.{Value,Type,Field} wrapping either gdb.{Value,Type,Field}
or lldb.{SBValue,SBType,SBField} and uses it to move
to more direct memory accesses in the dumper implementation.
This way we can use duck typing for artificial intermediate
objects eliminating the need for {gdb.Value,lldb.SBValue}.cast()
in some case which are flaky in general and typically not
available in release builds.
As consequence QRegion and QVariant dumper work without debug
info now.
Change-Id: Iea2411175ef67f2bf651ee7eaade9879ed5ceba1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -2,6 +2,10 @@ QT = core network
|
||||
|
||||
QTC_LIB_DEPENDS += utils
|
||||
|
||||
!win32 {
|
||||
CONFIG -= release
|
||||
CONFIG += debug
|
||||
}
|
||||
include(../qttest.pri)
|
||||
|
||||
msvc {
|
||||
|
||||
+338
-319
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user