1. 22 Jan, 2015 1 commit
  2. 15 Jan, 2015 1 commit
  3. 12 Dec, 2014 5 commits
  4. 08 Dec, 2014 1 commit
  5. 02 Dec, 2014 1 commit
  6. 18 Nov, 2014 1 commit
  7. 14 Nov, 2014 1 commit
  8. 10 Oct, 2014 1 commit
  9. 26 Sep, 2014 1 commit
  10. 12 Sep, 2014 1 commit
  11. 24 Jul, 2014 1 commit
  12. 23 Jul, 2014 1 commit
  13. 30 Jun, 2014 1 commit
  14. 24 Jun, 2014 1 commit
  15. 19 Jun, 2014 1 commit
  16. 18 Jun, 2014 1 commit
  17. 17 Jun, 2014 2 commits
  18. 16 Jun, 2014 1 commit
    • hjk's avatar
      Debugger: Make dumpers somewhat work in command line GDB · fffbf947
      hjk authored
      With
      
          python sys.path.insert(1, '/data/dev/creator/share/qtcreator/debugger/')
          python from gdbbridge import *
      
      in .gdbinit there's a new "GDB command", called "pp".
      
      With code like
      
          int main(int argc, char *argv[])
          {
              QString ss = "Hello";
              QApplication app(argc, argv);
              app.setObjectName(ss);
              // break here
          }
      
      the 'pp' command can be used as follows:
      
      (gdb) pp app
      app =
         [
            <Myns::QGuiApplication> = {"Hello"}
            staticMetaObject = <Myns::QMetaObject> = {""}
            [parent] = <Myns::QObject *> = {"0x0"}
            [children] = <Myns::QObjectList> = {"<3 items>"}
            [properties] = "<>0 items>"
            [methods] = "<6 items>"
            [signals] = "<1 items>"
         ],<Myns::QApplication> = {"Hello"}
      
      (gdb) pp app [properties],[children]
      app =
         [
            <Myns::QGuiApplication> = {"Hello"}
            staticMetaObject = <Myns::QMetaObject> = {""}
            [parent] = <Myns::QObject *> = {"0x0"}
            [children] = [
               <Myns::QObject> = {""}
               <Myns::QObject> = {""}
               <Myns::QObject> = {"fusion"}
            ],<Myns::QObjectList> = {"<3 items>"}
            [properties] = [
               windowIcon = <Myns::QVariant (QIcon)> = {""}
               cursorFlashTime = <Myns::QVariant (int)> = {"1000"}
               doubleClickInterval = <Myns::QVariant (int)> = {"400"}
               keyboardInputInterval = <Myns::QVariant (int)> = {"400"}
               wheelScrollLines = <Myns::QVariant (int)> = {"3"}
               globalStrut = <Myns::QVariant (QSize)> = {"(0, 0)"}
               startDragTime = <Myns::QVariant (int)> = {"500"}
               startDragDistance = <Myns::QVariant (int)> = {"10"}
               styleSheet = <Myns::QVariant (QString)> = {""}
               autoSipEnabled = <Myns::QVariant (bool)> = {"true"}
            ],"<10 items>"
            [methods] = "<6 items>"
            [signals] = "<1 items>"
         ],<Myns::QApplication> = {"Hello"}
      
      (gdb) pp ss
      ss =
         <Myns::QString> = {"Hello"}
      
      Change-Id: I6e4714a5cfe34c38917500d114ad9a70d20cff39
      Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
      Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
      fffbf947
  19. 28 May, 2014 1 commit
  20. 20 May, 2014 1 commit
  21. 16 May, 2014 1 commit
  22. 13 May, 2014 1 commit
  23. 06 May, 2014 1 commit
  24. 11 Apr, 2014 1 commit
  25. 03 Apr, 2014 1 commit
  26. 02 Apr, 2014 2 commits
  27. 27 Mar, 2014 1 commit
  28. 26 Mar, 2014 1 commit
  29. 18 Mar, 2014 1 commit
  30. 12 Mar, 2014 2 commits
  31. 11 Mar, 2014 2 commits
  32. 10 Mar, 2014 1 commit