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. Address Santizer with Qt Creator
Qt 6.11 is out! See what's new in the release blog

Address Santizer with Qt Creator

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 2.1k 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.
  • W Offline
    W Offline
    wrosecrans
    wrote on last edited by
    #1

    So, I recently started using Address Sanitizer with clang on Linux:
    @
    QMAKE_CXXFLAGS_DEBUG += -fsanitize=address -fno-omit-frame-pointer
    QMAKE_LFLAGS_DEBUG += -fsanitize=address
    @

    And it's pretty great. But, when I usually run my app in the debugger in Qt Creator, the IDE will catch the crash and let me use all the GUI niceness. I've grown to really appreciate Qt Creator's debugging tools. OTOH, with address sanitizing enabled, it just dies and I see the output in the program output, but I can't inspect things "live" or conveniently jump to a source location by clicking on it.

    Is there any way to get the debugger to handle this sort of thing? Is it on the roadmap for a future Qt Creator? I really feel like having this integrated into the IDE could be a huge improvement for me when I get stuck in the weeds cleaning up messy designs. :) I've already found a major problem that Valgrind wasn't really helping me with.

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Feature requests are tracked at bugreports.qt-project.org. Qt Creator Developers rarely look here.

      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