Skip to content
Snippets Groups Projects
  1. Jan 05, 2010
  2. Dec 07, 2009
  3. Oct 16, 2009
    • Friedemann Kleint's avatar
      Debugger: Use the code model to detect unitialized variables. · 25ee70bb
      Friedemann Kleint authored
      
      This should save debugger round trips and crashes in the debugging
      helpers.
      Add respective option to debugging helper option page, defaulting to
      true.On this occasion, make CDB detect shadowed variables correctly
      and display them as "<shadowed n>" as does the Gdb engine by
      reversing the direction in which
      CdbSymbolGroupContext::populateINameIndexMap works.
      Rubber-stamped-by: default avatarhjk <qtc-committer@nokia.com>
      25ee70bb
  4. Oct 14, 2009
  5. Oct 09, 2009
    • Friedemann Kleint's avatar
      CDB: Make use of the improved debugger expression syntax · 8266c366
      Friedemann Kleint authored
      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.
      8266c366
  6. Sep 21, 2009
    • Friedemann Kleint's avatar
      CDB: Use GdbMi parser for everything. · caa164a4
      Friedemann Kleint authored
      ..preparing recursive dumpers. Add recursive parser to
      watchutils.cpp Use insertBulkData() within CDB, add sizeof()
      information for some Qt containers in order to be able to
      dump QList<QList<KnownType> > .
      caa164a4
  7. Sep 18, 2009
  8. Sep 16, 2009
  9. Aug 31, 2009
  10. Aug 28, 2009
  11. Aug 14, 2009
  12. Aug 12, 2009
  13. Jul 14, 2009
  14. Jul 07, 2009
    • Friedemann Kleint's avatar
      Dumper fixing, dump some common std::map, std::set types with CDB. · 7b15d123
      Friedemann Kleint authored
      - std::set/map: Introduce templates to iterate the MSVC STL
        implementation depending on type (since it inherits some
        basic set_traits that depend on the key/value size.
      - Retrieve types correctly in CDB (buffer too short for STL-types)
      - Fix std::map in GDB broken by previous commit.
      - Introduce a dumper version check in GDB/CDB.
      - Make GDB parse sizes in initial dumper call as well
      - Fix special sizes to work with namespaced Qt (watchutils)
      7b15d123
  15. Jul 06, 2009
    • Friedemann Kleint's avatar
      Fix up Debugger helpers to be able to dump QObject's with CDB. · 5bd1d2a0
      Friedemann Kleint authored
      - Make container dumper routines set "childnumchild" when known
        in order to avoid roundtrips; avoid repeated invocations of
        container.end().
      - Completed dumper information in some places to avoid roundtrips.
      - Extended QVariant helpers by dumpers for common GUI types
        (rectangles, points, sizes, fonts, size policies).
      - Introduced artificial QObjectChildList/QObjectProperty types to
        be able to dump QObject children and properties without using
        gdb expressions.
      - Fixed dumping of Signal/Slot list to pass on correct types. Avoid
        recursions if signal is connected to self.
      - Replaced expressions by addresses in the dumpers to it make work
        for CDB.
      - Reworked dumper test program to have -a, making it usable for tests,
        add further types.
      - Gdb: Clear output buffer before calling dumpers, avoiding mixups
        in case evaluation of expression fails.
      - Fix the dumper parser used by CDB, do not be fooled by
        "<synthetic>" addresses, etc.
      - Pass on a "dumperVersion" in initial query.
      5bd1d2a0
  16. Jul 03, 2009
    • Friedemann Kleint's avatar
      Great debugger helper bug fixing spree. · 5a8b61b2
      Friedemann Kleint authored
      - Fix extractTemplate() not to kill blanks in case there is no
        blank after a comma, fix hardcoded types accordingly.
      - Make niceType()'s regexps ignore blanks after commas, add
        unsigned short as char_type and cache the mappings, making
        them work for CDB.
      - CDB: Parse map output of dumpers correctly, generally don't
        confuse the parser by unknown keywords encountered when
        parsing children, thus enabling simple QMap types.
      - Make dumpInnerValueHelper output std::string types.
      5a8b61b2
    • hjk's avatar
      89d49e3b
  17. Jul 02, 2009
    • Friedemann Kleint's avatar
      Display Q<>Pointers/Work towards displaying maps/QMaps in CDB. · 6e93f454
      Friedemann Kleint authored
      Make dumpers pass on more size information initially, namely the
      various Q<>Pointers. Introduce enum for those special template types
      whose size does not vary with the arguments (Q<>Pointer,
      std::allocators...) to make it more easily extensible.
      Pass on some common QMapNode<> sizes as well.
      Introduce an expression cache to the common QtDumperHelper
      class and make dumpers pass some common expression values
      (value offsets of common QMapNode<> incarnations).
      Make CDBDumperHelper use the expression cache.
      Extend dumper tester.
      6e93f454
  18. Jun 29, 2009
  19. Jun 23, 2009
  20. Jun 16, 2009
    • con's avatar
      Cherry-pick: Update license headers and sales contact details. · 2919c210
      con authored
      Reviewed-by: Trust Me
      
      Conflicts:
      
      	src/libs/cplusplus/CppBindings.cpp
      	src/libs/cplusplus/CppBindings.h
      	src/libs/cplusplus/FastPreprocessor.cpp
      	src/libs/cplusplus/FastPreprocessor.h
      	src/plugins/cpptools/cppcurrentdocumentfilter.cpp
      	src/plugins/cpptools/cppcurrentdocumentfilter.h
      	src/plugins/cpptools/cppsemanticsearch.cpp
      	src/plugins/cpptools/cppsemanticsearch.h
      	src/plugins/duieditor/parser/qmljs.g
      	src/plugins/duieditor/parser/qmljsast.cpp
      	src/plugins/duieditor/parser/qmljsast_p.h
      	src/plugins/duieditor/parser/qmljsastfwd_p.h
      	src/plugins/duieditor/parser/qmljsastvisitor.cpp
      	src/plugins/duieditor/parser/qmljsastvisitor_p.h
      	src/plugins/duieditor/parser/qmljsengine_p.cpp
      	src/plugins/duieditor/parser/qmljsengine_p.h
      	src/plugins/duieditor/parser/qmljsgrammar.cpp
      	src/plugins/duieditor/parser/qmljsgrammar_p.h
      	src/plugins/duieditor/parser/qmljslexer.cpp
      	src/plugins/duieditor/parser/qmljslexer_p.h
      	src/plugins/duieditor/parser/qmljsmemorypool_p.h
      	src/plugins/duieditor/parser/qmljsnodepool_p.h
      	src/plugins/duieditor/parser/qmljsparser.cpp
      	src/plugins/duieditor/parser/qmljsparser_p.h
      	src/plugins/duieditor/parser/qmljsprettypretty.cpp
      	src/plugins/duieditor/parser/qmljsprettypretty_p.h
      	src/plugins/duieditor/rewriter/rewriter.cpp
      	src/plugins/duieditor/rewriter/rewriter_p.h
      	src/plugins/duieditor/rewriter/textwriter.cpp
      	src/plugins/duieditor/rewriter/textwriter_p.h
      	src/shared/cplusplus/ASTClone.cpp
      	tests/manual/cplusplus/main.cpp
      2919c210
    • Jason McDonald's avatar
      Update license headers and sales contact details. · 884b7af7
      Jason McDonald authored
      Reviewed-by: Trust Me
      884b7af7
  21. Jun 03, 2009
  22. May 14, 2009
    • Friedemann Kleint's avatar
      Added ToolTip support for CDB. · 0e3aa47f
      Friedemann Kleint authored
      
      Make debugger tooltip API more general, have the engines check the
      correct file type, figure out the expression and context from the text
      editor.
      
      Put common functionality in watchutils.cpp. In the CDB engine, check
      whether a tooltip expression is a known variable within the stack frame
      context. If so, retrieve via symbol group or dumpers. Cache by function
      and expression.
      Reviewed-by: default avatarhjk <qtc-committer@nokia.com>
      0e3aa47f
  23. May 08, 2009
  24. May 05, 2009
  25. Apr 29, 2009
  26. Apr 22, 2009
  27. Mar 25, 2009
  28. Mar 03, 2009
  29. Feb 25, 2009
  30. Jan 13, 2009
  31. Dec 16, 2008
  32. Dec 02, 2008
Loading