Important: Please read the Qt Code of Conduct -

Debugging ui's widgets

  • When I start a debugging session, and hit a breakpoint, I can see the values of the local variables, but I cannot inspect the ui's widgets. Actualllly the "ui" item has not the arrow to expand and if I try to add an expression like:


    it says "no such value".
    Of course I've compiled in debug mode. Is there something else to enable?

  • @Mark81
    Write something like QString Str = ui->label1->text(); and check Str variable

Log in to reply