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. QtCreator and debugging return value of function
Forum Updated to NodeBB v4.3 + New Features

QtCreator and debugging return value of function

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 981 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.
  • T Offline
    T Offline
    th.thielemann
    wrote on last edited by
    #1

    While debugging with QtCreator( 4.1.0, build with Qt 5.5.1 on Linux, Ubuntu 12.04 LTS) I can show the return value pane with Shift+F11. Return value is shown in "Locals and Expressions". But it is gone after leave of function. How do I pin this pane to keep it always visible?

    jsulmJ 1 Reply Last reply
    0
    • T th.thielemann

      While debugging with QtCreator( 4.1.0, build with Qt 5.5.1 on Linux, Ubuntu 12.04 LTS) I can show the return value pane with Shift+F11. Return value is shown in "Locals and Expressions". But it is gone after leave of function. How do I pin this pane to keep it always visible?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @th.thielemann I don't think this is possible. Locals are local, when you leave the function there are no locals anymore and what would be the return value if you already left the function? Return values often depend on parameters and object states, so there is no way to determine the return value without actually calling the function. Or do you mean the last value returned by the function?

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

      1 Reply Last reply
      2
      • T Offline
        T Offline
        th.thielemann
        wrote on last edited by
        #3

        It is ok to clean the pane blank in case no return value is available. But it gets closed every time a function was leaved. And it did not reopen in case a return values is available. Good example: Expressions and Values pane gets updated every time the focus changed.

        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