Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Cannot see members of local variables during debug
Qt 6.11 is out! See what's new in the release blog

Cannot see members of local variables during debug

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 714 Views 1 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.
  • E Offline
    E Offline
    esers
    wrote on last edited by
    #1

    I have created console Qt app to get http page.
    I have a problem with authorization and want to debug my app.
    I put breakpoint and run debugger.
    When it stops at breakpoint I can see only local variables in "Locals and Expressions" window
    but not there members.

    @
    Locals
    request QNetworkRequest
    d QSharedDataPointer<QNetworkRequestPrivate>
    this @0x7fff14d91400 HttpManager
    [QObject] QObject
    qnam @0x24b1d90 QNetworkAccessManager
    reply @0x403225 QNetworkReply
    url QUrl
    d @0x24b2c20 QUrlPrivate
    Inspector
    Expressions
    request QNetworkRequest
    Return Value
    Tooltip
    @

    The request variable must have Url member set
    and Authorization header of reaquest must have value also.

    What is wrong?

    I try to start Qt creator under root (gksu comand), but it didn't help.
    I have Qt5.0.2 on Ubuntu 12.04 LTS on VirtualBox under Windows7.

    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