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. [solved]How to break into C++ code?

[solved]How to break into C++ code?

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 4 Posters 4.0k 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.
  • K Offline
    K Offline
    kathy
    wrote on last edited by
    #1

    I am using Creator 2.1. I have set break point inside my cpp code. After I hit F5, it break at the Disassebler(), not my cpp code. What is wrong? How to set it to break in the c++ code?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kathy
      wrote on last edited by
      #2

      Use Qt 2.2 RC, On the GUI, there is little button for switch operation mode. Toggleing it will switch between disassembler and c++ code.

      But I do not know how to set it in other way

      1 Reply Last reply
      0
      • S Offline
        S Offline
        secretNinja
        wrote on last edited by
        #3

        /off "QtCreator 2.2 has a final version.":https://developer.qt.nokia.com/wiki/QtCreator2.2Download

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          You might want to check, if that part of source with the break point has been compiled in debug mode.
          Coming from MSVC and used to have all my libs also in debug, I found it a little strange that you can mix debug code with some own release libs.

          Certainly it is best to follow also secretNinja's advice and use the final version of Qt creator.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • D Offline
            D Offline
            Duck
            wrote on last edited by
            #5

            Could well be the debugger stopped not in the thread you are expecting. Check the threads view whether some other thread looks better.

            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