Results 1 to 8 of 8

Thread: Unable to debug on OSX Yosemite - XCode 6.4

  1. #1
    Join Date
    Jul 2015
    Posts
    5
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Unable to debug on OSX Yosemite - XCode 6.4

    I have installed Qt Creator 3.3.2 on OSX Yosemite which XCode 6.4 beta installed. Its saying QT Creator is built with CLang 6 (Apple) 64bit.
    I have found that if I run a small C++ console app which segfault error in runtime it shuts the program down with no indication of the critical error. I would have preferred a way to see the fault and know it was a fault.

    I run in debug mode, I get the following text in a dialog:
    Python quit unexpectedly while using the _lldb.so plug-in. It asks to ignore report reopen etc, none of which help.
    I believe the library is incompatible with Yosemite from search but have not been able to build yet due to issues with the XCode (my not knowing what to do, its a basic install that I have never used)

    I want to get debugging working for obvious reasons...
    Any help on getting this up and running appreciated. I dont mind reinstalling if I have selected wrong installs.
    Last edited by oohogwash; 1st July 2015 at 01:42.

  2. #2
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Unable to debug on OSX Yosemite - XCode 6.4

    May be related to this bug. Try unchecking the "run in terminal" option in your Qt Creator project settings and see if that does the trick. Your application stdout/stderr will be sent to the "application output" window in Qt Creator when your program is executed.

  3. #3
    Join Date
    Jul 2015
    Posts
    5
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Unable to debug on OSX Yosemite - XCode 6.4

    That checkbox is already unchecked, I tried checking it but no change.

    I still wonder if there is a crash in the loading / execution of the library

  4. #4
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Unable to debug on OSX Yosemite - XCode 6.4

    Sorry, was worth a shot. I am using OSX Yosemite and Xcode 6.4 with Qt 5.4.2/Qt Creator 3.4.1 and don't have any problems debugging.

  5. #5
    Join Date
    Jul 2015
    Posts
    5
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Unable to debug on OSX Yosemite - XCode 6.4

    Thanks for the info, I have Qt 5.4.1, I will try to get your version and see if that helps, how did you download, ie is it community version...


    Quote Originally Posted by jefftee View Post
    Sorry, was worth a shot. I am using OSX Yosemite and Xcode 6.4 with Qt 5.4.2/Qt Creator 3.4.1 and don't have any problems debugging.
    I can see two variants, one is IOS and the other is CLANG, which one did you use Jeff ?

  6. #6
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Unable to debug on OSX Yosemite - XCode 6.4

    I build from git source, but the comparable download should be community version CLANG.

  7. #7
    Join Date
    Jul 2015
    Posts
    5
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Unable to debug on OSX Yosemite - XCode 6.4

    I just finished installing the CLANG variant, it all works fine now.... thanks Jeff, you have made my day.

    So for the record my version did not work, installing over the top with no change to my XCode... it all works.

  8. #8
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Unable to debug on OSX Yosemite - XCode 6.4

    Glad to hear it's working for you now. Can't imagine not being able to debug...

Similar Threads

  1. OS X Yosemite, iOS 8 and Xcode 6
    By guidupas in forum Qt Programming
    Replies: 0
    Last Post: 16th June 2014, 23:28
  2. Replies: 1
    Last Post: 6th January 2013, 23:29
  3. Unable to use qDebug() to debug
    By Rikonator in forum Newbie
    Replies: 5
    Last Post: 17th August 2011, 12:57
  4. Debug QString in Xcode 3.x
    By xEsk in forum Newbie
    Replies: 1
    Last Post: 30th October 2008, 20:14
  5. Replies: 2
    Last Post: 8th November 2007, 20:15

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.