Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. What is equals of Visual Studio .Net [DebuggerStepThrough] in QT?
QtWS25 Last Chance

What is equals of Visual Studio .Net [DebuggerStepThrough] in QT?

Scheduled Pinned Locked Moved General and Desktop
debuggingdebugcompiler
2 Posts 2 Posters 1.8k 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.
  • Q Offline
    Q Offline
    qasem
    wrote on last edited by
    #1

    I'm gonna ignore some line for debugging in QT.
    I know, I can do it in Visual Studio .Net with [DebuggerStepThrough]
    http://www.debuggerstepthrough.com/2013/01/some-good-to-know-c-attributes.html

    but I wanna the equals of this code in QT, C++.
    Is there a code in QT for this purpose, if not, How I can do it in QT?

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi, welcome to devnet.

      Qt (not QT which is Apple QuickTime) is just a library. It has nothing to do with debugging.
      C++ language doesn't have such annotations so features like this depend on the compiler and debugger you use.

      The supported toolchains on windows include MCVC+CDB and MinGW+gdb.

      I'm not sure about the second combo, but AFAIK there is no (official at least) way to do that with MSVC and CDB. There is an undocumented .natstepfilter file that you can edit to mark some functions to be stepped over, but I personally never managed to make it work and I'm not sure if they apply to the CDB outside VS either. Anyway a few words about it here. Would love to hear from you if you get it to work.

      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