Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt Creator "change display for type" not working
Forum Updated to NodeBB v4.3 + New Features

Qt Creator "change display for type" not working

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 423 Views 2 Watching
  • 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.
  • Z Offline
    Z Offline
    zhiyb
    wrote on last edited by zhiyb
    #1

    I'm using Qt Creator 4.2.0 for STM32 development.

    The compiler is arm-none-eabi-gcc 5.3 and the debugger is arm-none-eabi-gdb 7.10.1.

    During debug session, I tried to change display for type uint32_t to hexadecimal in locals view, but it didn't work. Changing for some basic types e.g. int also didn't work, the values were still displayed in decimal.

    Changing individual items do have the desired effect, though.

    Here are the debugger log outputs:

    <113python theDumper.fetchVariables({"autoderef":0,"context":"","displaystringlimit":"100","dyntype":0,"expanded":["inspect","return","local.usbep.*","watch","local","local.usbep"],"fancy":1,"formats":{"local.usbep.*.DIEPCTL":23},"nativemixed":0,"partialvar":"","passexceptions":"1","qobjectnames":1,"resultvarname":"","stringcutoff":"10000","token":113,"typeformats":{"local.ep":23,"local.usbep.*.DIEPCTL":23},"watchers":[]})
    >&"python theDumper.fetchVariables({\"autoderef\":0,\"context\":\"\",\"displaystringlimit\":\"100\",\"dyntype\":0,\"expanded\":[\"inspect\",\"return\",\"local.usbep.*\",\"watch\",\"local\",\"local.usbep\"],\"fancy\":1,\"formats\":{\"local.usbep.*.DIEPCTL\":23},\"nativemixed\":0,\"partialvar\":\"\",\"passexceptions\":\"1\",\"qobjectnames\":1,\"resultvarname\":\"\",\"stringcutoff\":\"10000\",\"token\":113,\"typeformats\":{\"local.ep\":23,\"local.usbep.*.DIEPCTL\":23},\"watchers\":[]})\n"
    
    >~"data=[{iname=\"local.ep\",name=\"ep\",numchild=\"0\",type=\"uint32_t\",value=\"0\",},{iname=\"local.usbep\",name=\"usbep\",address=\"0x2002ff84\",numchild=\"1\",children=[{name=\"*\",address=\"0x50000900\",address=\"0x50000900\",numchild=\"1\",sortable=\"1\",children=[{name=\"DIEPCTL\",address=\"0x50000900\",address=\"0x50000900\",numchild=\"0\",type=\"uint32_t\",value=\"163840\",},{name=\"Reserved04\",address=\"0x50000904\",address=\"0x50000904\",numchild=\"0\",type=\"uint32_t\",value=\"0\",},{name=\"DIEPINT\",address=\"0x50000908\",address=\"0x50000908\",numchild=\"0\",type=\"uint32_t\",value=\"8384\",},{name=\"Reserved0C\",address=\"0x5000090c\",address=\"0x5000090c\",numchild=\"0\",type=\"uint32_t\",value=\"0\",},{name=\"DIEPTSIZ\",address=\"0x50000910\",address=\"0x50000910\",numchild=\"0\",type=\"uint32_t\",value=\"524288\",},{name=\"DIEPDMA\",address=\"0x50000914\",address=\"0x50000914\",numchild=\"0\",type=\"uint32_t\",value=\"28049536\",},{name=\"DTXFSTS\",address=\"0x50000918\",address=\"0x50000918\",numchild=\"0\",type=\"uint32_t\",value=\"47\",},{name=\"Reserved18\",address=\"0x5000091c\",address=\"0x5000091c\",numchild=\"0\",type=\"uint32_t\",value=\"11272320\",},],type=\"USB_OTG_INEndpointTypeDef\",value=\"\",},],type=\"USB_OTG_INEndpointTypeDef*\",value=\"0x50000900\",},],typeinfo=[],partial=\"0\",counts={'nostruct-2': 9, 'cannotBeQObject': 9},timimgs=[]\n"
    >~",time=\"0\"\n"
    >113^done
    
    1 Reply Last reply
    0

    • Login

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