Unable to debug in MAC

Niko Sams niko.sams at gmail.com
Fri Jan 25 19:02:11 GMT 2013


Yes, maybe that's the reason.

As I said... if you find time to work on this send us a patch :D

Niko

On Fri, Jan 25, 2013 at 10:17 AM, Gmail <jc.fernandez.navarro at gmail.com> wrote:
> Hi Niko,
>
> Yes I realized that too, I modified the cmake file and re-compiled gdb, then when I re-started kdvelop
> the gdb plugin was present, however, it does not work. Apparently, osx does not allow it to call fork() from a forked process without using exec() :
>
> http://objectivistc.tumblr.com/post/16187948939/you-must-exec-a-core-foundation-fork-safety-tale
>
> I do not see a quick solution for this that does not involved digging into the source code, I guess that is
> the reason gdb is not enabled for MAC and Windows
>
> Jose
>
>
> On 24/01/2013, at 20:08, Niko Sams <niko.sams at gmail.com> wrote:
>
>> Hi,
>>
>> the kdevelop gdb plugin is not compiled on mac.
>> I don't know the exact reason - maybe this is even outdated and could
>> be enabled again.
>> (check the cmake file)
>>
>> as I don't have a mac where I could try this out I can't do anything
>> else about it.
>>
>> But we accept patches :D
>>
>> Niko
>>
>> On Wed, Jan 23, 2013 at 7:51 PM, Jose <jc.fernandez.navarro at gmail.com> wrote:
>>> Hello,
>>>
>>> I have recently been "forced" to move to MAC at work after years of using
>>> Ubuntu and Kdevelop.
>>>
>>> I managed to install Kdevelop on my MAC (mountain lion) using macports.
>>>
>>> However, I am missing the debugging functionality. Simply. the "Configure
>>> Launches" menu
>>> does not contain any "debug" sug-menus when I chose any of the projects.
>>>
>>> I believe there is maybe a compilation flag to unable the debug and that was
>>> turned off
>>> by the port, probably due to the lack of any package or in purpose.
>>>
>>> Have anybody experienced the same issue? Have I perhaps missed
>>> any step?
>>>
>>> Any help would be much appreciated since I use the debugger a lot.
>>>
>>> Thanks in advance
>>>
>>> //Jose
>>>
>>> _______________________________________________
>>> KDevelop mailing list
>>> KDevelop at kde.org
>>> https://mail.kde.org/mailman/listinfo/kdevelop
>>>
>



More information about the KDevelop mailing list