debugging on Mac OSX
Jacob Carlborg
doob at me.com
Mon Apr 29 09:48:26 PDT 2013
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
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list