Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-19033

Debugger view not working on localized Qt Creator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.4.0
    • Debugger

    Description

      On localised Qt Creator, configuration name is localised by default:

      So when debugging, errors similar to this prevent "stack" and "variables and expression views" from working:

      <175python theDumper.fetchStack({"limit":0,"nativemixed":0,"token":175}) <176python theDumper.fetchVariables({"autoderef":1,"context":"","displaystringlimit":"100","dyntype":1,"expanded":["local","return","inspect","watch"],"fancy":1,"formats":{},"nativemixed":0,"partialvar":"","passexceptions":0,"qobjectnames":1,"resultvarname":"","stringcutoff":"10000","token":176,"typeformats":{},"watchers":[{"exp":"7374725b695d","iname":"watch.0"}]}) >&"python theDumper.fetchStack({\"limit\":0,\"nativemixed\":0,\"token\":175})\n" >&"Traceback (most recent call last):\n" >&" File \"<string>\", line 1, in <module>\n" >&" File \"/usr/share/qtcreator/debugger/gdbbridge.py\", line 1282, in fetchStack\n" >&" objfile = fromNativePath(symtab.objfile.filename)\n" >&"UnicodeEncodeError: 'ascii' codec can't encode characters in position 69-79: ordinal not in range(128)\n" >&"Error while executing Python code.\n" >175^error,msg="Error while executing Python code."

      Workaround is renaming configuration name to some value containing only ASCII symbols, but it is not convenient to do for every created project.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            ukrkyi Ярослав Семченко
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes