Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Tools
    4
    5
    3741
    Loading More Posts
    • 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
      kathy last edited by

      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 Reply Quote 0
      • K
        kathy last edited by

        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 Reply Quote 0
        • S
          secretNinja last edited by

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

          1 Reply Last reply Reply Quote 0
          • K
            koahnig last edited by

            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 Reply Quote 0
            • D
              Duck last edited by

              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 Reply Quote 0
              • First post
                Last post