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. qt 6: debug only my files?
Forum Updated to NodeBB v4.3 + New Features

qt 6: debug only my files?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 4 Posters 687 Views 2 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.
  • W Offline
    W Offline
    whitehouse_james
    wrote on last edited by
    #1

    How do I tell the debugger to not step into the QT Library files? I am only interested in what i have coded.

    Christian EhrlicherC cristian-adamC 2 Replies Last reply
    0
    • W whitehouse_james

      How do I tell the debugger to not step into the QT Library files? I am only interested in what i have coded.

      Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      I'm not aware of such an option but why do you not simply step over the Qt function calls?

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      W 1 Reply Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher

        I'm not aware of such an option but why do you not simply step over the Qt function calls?

        W Offline
        W Offline
        whitehouse_james
        wrote on last edited by
        #3

        @Christian-Ehrlicher, good answer. Currently i try to do that but occasionally press "into" accidentally. Then i find quite often the debugger freezes. Just thought it might be nice to find an option like VS Code that says "my files only".

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SimonSchroeder
          wrote on last edited by
          #4

          There is a whole discussion about this on StackOverflow: https://stackoverflow.com/questions/72894675/how-to-enable-justmycode-in-vs-code-c-debugger

          From the first look it seems to depend on the compiler/debugger being used if this actually works for C++.

          1 Reply Last reply
          1
          • W whitehouse_james

            How do I tell the debugger to not step into the QT Library files? I am only interested in what i have coded.

            cristian-adamC Offline
            cristian-adamC Offline
            cristian-adam
            wrote on last edited by
            #5

            I have two bug reports open:

            1. QTCREATORBUG-29693 Support /jmc (just my code) MSVC compiler feature
            2. QTCREATORBUG-23508 Skip built-in include paths while debugging

            But they are not yet fixed.

            1 Reply Last reply
            3

            • Login

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