[KDE/Mac] More debugging on OSX, now using lldb (since running on Mavericks)
Marko Käning
mk-lists at email.de
Tue Oct 7 19:34:26 UTC 2014
On 07 Oct 2014, at 11:21 , René J.V. Bertin <rjvbertin at gmail.com> wrote:
> Exactly what is your issue with konversation (and with what version)? I have been using the version currently in MacPorts, and it works just fine for me …
Please check out my reference [2] in my initial post.
> Unless lldb also supports the "mi2" interpreter syntax, whatever that is (KDevelop starts gdb with `--interpreter=mi2`)
I was even daydreaming of running lldb in a console myself, as I have done some times with gdb. ;)
> Did you manage to create an Xcode project for konversation (using cmake) that is actually accepted by Xcode? Most of the time cmake creates corrupt Xcode projects for me (probably just on a detail, but I don't know how to debug those project files).
Oh no, I just built the project myself using make and then just let Xcode run the code. The project is then an external build project.
> In any case, my experience is that you have very little chance of getting a useful stack trace when you interrupt a GUI application while it's waiting for some event.
Yes, you’re right. I keep forgetting that. When looking at those threads this morning I was thinking along those lines.
> Oh, and I've also learned that it can help, when an application appears to hang, to attach a debugger to it, interrupt it and then continue it. Often that deblocks whatever deadlock there was.
Did so as well, but this didn’t fix it.
It looks as if Konversation’s GUI gets half-deadlocked by OSX itself, perhaps...
>> P.S.: I now realise that I haven’t tried to use Qt-Creator yet... Perhaps that’s a
>> another alternative! =)
>
> Yes, I think it is. Qt5 Creator does "talk lldb" and it can also import cmake based projects. The only challenge will be to get it to execute cmake with the MacPorts specific options and environment, or get it to accept an existing build directory without insisting on doing a cmake of its own in there.
OK, will test that. I have managed to build and run Linux-qmake-based projects fine on OSX with Qt-Creator.
Well, let’s see how this will turn out. :)
More information about the kde-mac
mailing list