Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. CentOS 7 debugger dont show debug info
Forum Updated to NodeBB v4.3 + New Features

CentOS 7 debugger dont show debug info

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
10 Posts 2 Posters 1.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sacha_D
    wrote on last edited by
    #1

    Hello. Centos 7. gcc 7.3., gdb 8.0.1-36.el7, cmake3 3.11.2, python 2.7.5 (I use devtoolset-7)
    Qt installed separately from qt-opensource-linux-x64-5.11.0.run.

    Debugger stops, continues, etc, but does not showing debug info, stack call, current line, etc. How to fix this?

    0_1529045998034_Снимок экрана от 2018-06-15 09-51-28.png

    S 1 Reply Last reply
    0
    • S Sacha_D

      Hello. Centos 7. gcc 7.3., gdb 8.0.1-36.el7, cmake3 3.11.2, python 2.7.5 (I use devtoolset-7)
      Qt installed separately from qt-opensource-linux-x64-5.11.0.run.

      Debugger stops, continues, etc, but does not showing debug info, stack call, current line, etc. How to fix this?

      0_1529045998034_Снимок экрана от 2018-06-15 09-51-28.png

      S Offline
      S Offline
      Sacha_D
      wrote on last edited by
      #2

      It seems, that all theses things exists, but does not showing, because if I click on empty areas, with of columns changing, i can right click and have context menu. Thus, it only not drawing this text, lines, but they presents. How to show them?

      jsulmJ 1 Reply Last reply
      0
      • S Sacha_D

        It seems, that all theses things exists, but does not showing, because if I click on empty areas, with of columns changing, i can right click and have context menu. Thus, it only not drawing this text, lines, but they presents. How to show them?

        jsulmJ Online
        jsulmJ Online
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Sacha_D What happens if you stop at line 57?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        S 1 Reply Last reply
        0
        • jsulmJ jsulm

          @Sacha_D What happens if you stop at line 57?

          S Offline
          S Offline
          Sacha_D
          wrote on last edited by
          #4

          @jsulm The same thing. It stops, It go by F10 from 56 to 57. It shows value of a and other variables in popup-window, when I hover mouse pointer on variable. I installed Qt Creator 4.6.2 instead of 4.6.1. The same thing. I tried to change fonts...

          jsulmJ S 2 Replies Last reply
          0
          • S Sacha_D

            @jsulm The same thing. It stops, It go by F10 from 56 to 57. It shows value of a and other variables in popup-window, when I hover mouse pointer on variable. I installed Qt Creator 4.6.2 instead of 4.6.1. The same thing. I tried to change fonts...

            jsulmJ Online
            jsulmJ Online
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @Sacha_D If you start QtCreator from a terminal do you see any warnings/errors in the terminal?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            S 1 Reply Last reply
            0
            • S Sacha_D

              @jsulm The same thing. It stops, It go by F10 from 56 to 57. It shows value of a and other variables in popup-window, when I hover mouse pointer on variable. I installed Qt Creator 4.6.2 instead of 4.6.1. The same thing. I tried to change fonts...

              S Offline
              S Offline
              Sacha_D
              wrote on last edited by
              #6

              End of debugger log:

              &"python theDumper.fetchStack({"limit":20,"nativemixed":0,"token":21})\n"
              &"Traceback (most recent call last):\n"
              &" File "<string>", line 1, in <module>\n"
              &" File "/opt/Qt5.11.0/Tools/QtCreator/share/qtcreator/debugger/gdbbridge.py", line 1304, in fetchStack\n"
              &" objfile = fromNativePath(symtab.objfile.filename)\n"
              &"UnicodeEncodeError: 'ascii' codec can't encode characters in position 34-39: ordinal not in range(128)\n"
              &"Error while executing Python code.\n"
              21^error,msg="Error while executing Python code."

              jsulmJ 1 Reply Last reply
              0
              • jsulmJ jsulm

                @Sacha_D If you start QtCreator from a terminal do you see any warnings/errors in the terminal?

                S Offline
                S Offline
                Sacha_D
                wrote on last edited by
                #7

                @jsulm in terminal I see only "Emty filename passed to function"

                1 Reply Last reply
                0
                • S Sacha_D

                  End of debugger log:

                  &"python theDumper.fetchStack({"limit":20,"nativemixed":0,"token":21})\n"
                  &"Traceback (most recent call last):\n"
                  &" File "<string>", line 1, in <module>\n"
                  &" File "/opt/Qt5.11.0/Tools/QtCreator/share/qtcreator/debugger/gdbbridge.py", line 1304, in fetchStack\n"
                  &" objfile = fromNativePath(symtab.objfile.filename)\n"
                  &"UnicodeEncodeError: 'ascii' codec can't encode characters in position 34-39: ordinal not in range(128)\n"
                  &"Error while executing Python code.\n"
                  21^error,msg="Error while executing Python code."

                  jsulmJ Online
                  jsulmJ Online
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Sacha_D said in CentOS 7 debugger dont show debug info:

                  "UnicodeEncodeError: 'ascii' codec can't encode characters in position 34-39: ordinal not in range(128)\n"

                  Could be an encoding problem.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  S 1 Reply Last reply
                  1
                  • jsulmJ jsulm

                    @Sacha_D said in CentOS 7 debugger dont show debug info:

                    "UnicodeEncodeError: 'ascii' codec can't encode characters in position 34-39: ordinal not in range(128)\n"

                    Could be an encoding problem.

                    S Offline
                    S Offline
                    Sacha_D
                    wrote on last edited by
                    #9

                    @jsulm The problem was that the path to project contained russian-named folder.

                    jsulmJ 1 Reply Last reply
                    1
                    • S Sacha_D

                      @jsulm The problem was that the path to project contained russian-named folder.

                      jsulmJ Online
                      jsulmJ Online
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @Sacha_D For developing it is always safe to use paths with ASCII characters and without spaces.

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      1

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved