Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. QWT example debug for Zoomer functionality
Forum Updated to NodeBB v4.3 + New Features

QWT example debug for Zoomer functionality

Scheduled Pinned Locked Moved 3rd Party Software
5 Posts 2 Posters 3.4k 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.
  • X Offline
    X Offline
    xenonforlife
    wrote on 21 Dec 2011, 18:58 last edited by
    #1

    I wish to implement the Zoomer functionality in my application so I decided to debug the qwt examples to see how it is actually implemented in qwt. However after setting up the breakpoints , my debug execution does not stop at the breakpoint and I am not being able to understand why. Can someone please help me with this? The example that I am going through is the spectrogram example which has the zoomer functionality in it. I have set the breakpoint in 'plot.cpp' just before the zoomer object is getting created, but the code does not stop there so that I can step into it and actually check out what us happening.Please help.

    Thanks

    1 Reply Last reply
    0
    • D Offline
      D Offline
      daviddoria
      wrote on 21 Dec 2011, 19:01 last edited by
      #2

      Are you building in DEBUG (vs RELEASE) mode? If not, breakpoints will not work.

      1 Reply Last reply
      0
      • X Offline
        X Offline
        xenonforlife
        wrote on 21 Dec 2011, 19:10 last edited by
        #3

        Will I be able to set breakpoints in the release mode as well, if yes could you please tell me where can I check to see the mode in which I am building, I am using QtCreator and as far as i know I am building in debug_and_release mode

        1 Reply Last reply
        0
        • D Offline
          D Offline
          daviddoria
          wrote on 21 Dec 2011, 19:22 last edited by
          #4

          I was suggesting that you SHOULD build in debug mode. I have had trouble with the "dual" mode (called DebWithRelInfo in CMake) - breakpoints don't always work as expected. I don't frequently use QtCreator , and I just tried it and was confused because even after I changed to 'debug' the breakpoints were not hit "and I got this "this is not a debug build" message box. I had to do "clean all" and then "build all" before it worked correctly. (I set it to 'debug' by click the 'Projects' button in the sidebar -> then under "build steps" I click "details" and next to "qmake build configuration" set the combobox to 'debug')

          1 Reply Last reply
          0
          • X Offline
            X Offline
            xenonforlife
            wrote on 21 Dec 2011, 19:47 last edited by
            #5

            It is already set to debug, I am stuck bigtime :(

            1 Reply Last reply
            0

            1/5

            21 Dec 2011, 18:58

            • Login

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