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. Problem with Qt Creator not stopping on breakpoints when using lldb
Forum Updated to NodeBB v4.3 + New Features

Problem with Qt Creator not stopping on breakpoints when using lldb

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 3 Posters 1.9k 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.
  • U Offline
    U Offline
    upster
    wrote on last edited by
    #1

    Hi,

    I'm using Qt Creator 3.1.2 on OSX Mavericks and using lldb as the debugger. If I set breakpoints on files that reside in my home directory, everything seems to work perfectly.

    However, in my project a number of files include other files in other directories.

    #include "someDir/file2.cpp"

    In the debugger when I step into these files it opens them up perfectly and I can step through the code there.
    However, if I set a breakpoint in any of those files, Qt just ignores them as if I didn't set a breakpoint at all.

    Is this some kind of configuration error on my part or is it a bug?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andrep
      wrote on last edited by
      #2

      There's a debugger log, contents of right pane of Windows->Views->Debugger Log. Maybe there's something interesting in there.

      1 Reply Last reply
      0
      • B Offline
        B Offline
        bbennetts
        wrote on last edited by
        #3

        The default behaviour for the way lldb searches files included thus doesn't play nicely with .c file inclusion. Performing the following should resolve the problem;

        settings set target.inline-breakpoint-strategy always

        should sort the issue. Getting Qt Creator to use/set this value persistently is a different issue.

        HTH.

        1 Reply Last reply
        0
        • B Offline
          B Offline
          bbennetts
          wrote on last edited by
          #4

          The default behaviour for the way lldb searches files included thus doesn't play nicely with .c file inclusion. Performing the following should resolve the problem;

          settings set target.inline-breakpoint-strategy always

          should sort the issue. Getting Qt Creator to use/set this value persistently is a different issue.

          HTH.

          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