debugging on Mac OSX
Dan
dbdavidson at yahoo.com
Mon Apr 29 11:49:50 PDT 2013
On Monday, 29 April 2013 at 16:48:27 UTC, Jacob Carlborg wrote:
> On 2013-04-29 14:45, Daniel Davidson wrote:
>> Ho do you debug D executables on mac os x in which debug
>> symbols are
>> available (preferably a setup that works in emacs with gdb or
>> gud-gdb)?
>>
>> This thread seems to bring up the issue I am seeing:
>>
>> http://forum.dlang.org/thread/k55tiv$28u3$1@digitalmars.com
>>
>> but no solution is provided. Also, this bug,
>>
>> http://d.puremagic.com/issues/show_bug.cgi?id=2741
>>
>> seems to specifically talk to the issue and is closed RESOLVED
>> FIXED.
>> Yet I am unable to get it to work.
>>
>> In this thread on usability of D dev environment from OSX,
>> several
>> people are having success developing D on OSX. Question is, do
>> they
>> debug and if so how? (hopefully not just print statements)
>>
>> I am a switcher, just trying out the mac ecosystem. On ubuntu
>> linux, for
>> my rather small sample apps emacs (M-x gdb) just works,
>> assuming I've
>> built with rdmd specifying debug and that the command build
>> only (to
>> keep the binary). The symbols and line numbers are available.
>>
>> Is there a setup for Mac that others are having success with?
>
> See:
>
> * http://d.puremagic.com/issues/show_bug.cgi?id=8172
> * http://d.puremagic.com/issues/show_bug.cgi?id=8207
Thanks. What is the takeaway? That it does not work and can not
work until these two bugs are fixed? A simple "I don't think you
can get there from here"?
More information about the Digitalmars-d-learn
mailing list