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

QtCreator and debugging return value of function

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 946 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 18 Jan 2017, 08:34 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?

    J 1 Reply Last reply 18 Jan 2017, 11:04
    0
    • T th.thielemann
      18 Jan 2017, 08:34

      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?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 18 Jan 2017, 11:04 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 18 Jan 2017, 11:32 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

        1/3

        18 Jan 2017, 08:34

        • Login

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