CDB: Make use of the improved debugger expression syntax
CDB can now handle sizeof(Class) and even expressions that determine the offset of map node values (to some extent), may still fail with templates). Format expressions accordingly, adapt cached expressions. Use gdbQuoteType depending on debugger type only. Most important, do not evaluate each expression separately before issuing the call, as ".call" can now do it on its own. Check for syntax errors there and cache failing types as before.
Showing
- share/qtcreator/gdbmacros/gdbmacros.cpp 6 additions, 7 deletionsshare/qtcreator/gdbmacros/gdbmacros.cpp
- src/plugins/debugger/cdb/cdbdumperhelper.cpp 31 additions, 49 deletionssrc/plugins/debugger/cdb/cdbdumperhelper.cpp
- src/plugins/debugger/cdb/cdbdumperhelper.h 4 additions, 5 deletionssrc/plugins/debugger/cdb/cdbdumperhelper.h
- src/plugins/debugger/watchutils.cpp 65 additions, 20 deletionssrc/plugins/debugger/watchutils.cpp
- src/plugins/debugger/watchutils.h 5 additions, 1 deletionsrc/plugins/debugger/watchutils.h
Loading
Please register or sign in to comment