On 6 September 2013 00:56, H. S. Teoh wrote:
>
> @Iain: on that note, it looks like gdb thinks it's debugging C++, but D
> doesn't have anything called 'operator[]'. It would be Really Nice if we
> could somehow coax gdb to use opIndex instead (though it doesn't really
> help in the case of dyn ar
On 2013-09-06 00:23, H. S. Teoh wrote:
GDC uses a slightly modified form of DMD compile flags. The flag you're
looking for is -fdebug.
Or use GDMD, a wrapper around GDC with the same command line syntax as DMD.
--
/Jacob Carlborg
On Fri, Sep 06, 2013 at 02:59:30AM +0200, Ramon wrote:
> On Thursday, 5 September 2013 at 23:58:06 UTC, H. S. Teoh wrote:
>
> Thanks and
>
> >@Iain: on that note, it looks like gdb thinks it's debugging C++, but
> >D doesn't have anything called 'operator[]'. It would be Really Nice
> >if we coul
On Thursday, 5 September 2013 at 23:58:06 UTC, H. S. Teoh wrote:
Thanks and
@Iain: on that note, it looks like gdb thinks it's debugging
C++, but D
doesn't have anything called 'operator[]'. It would be Really
Nice if we
could somehow coax gdb to use opIndex instead (though it
doesn't really
On Fri, Sep 06, 2013 at 01:49:17AM +0200, Ramon wrote:
> On D's, and in particular GDC's, way to conquer the world there will
> evidently be many newbies to notice D, look at it, be drawn to it
> (and be happily trapped).
>
> I am such a newbie and the idea behind this thread is to collect all
> t
On D's, and in particular GDC's, way to conquer the world there
will evidently be many newbies to notice D, look at it, be drawn
to it (and be happily trapped).
I am such a newbie and the idea behind this thread is to collect
all the issues, quirks and nuisances a newbie might encounter.
Pleas
On Thursday, 5 September 2013 at 22:25:27 UTC, H. S. Teoh wrote:
On Fri, Sep 06, 2013 at 12:18:44AM +0200, Ramon wrote:
The compiler switch '-debug' isn't recognized (which isn't a
problem
per se, but...)
"debug" statements in the code are ignored.
Example:
...
debug
writeln("DBG: var X i
On Fri, Sep 06, 2013 at 12:18:44AM +0200, Ramon wrote:
> The compiler switch '-debug' isn't recognized (which isn't a problem
> per se, but...)
>
> "debug" statements in the code are ignored.
>
> Example:
>
> ...
> debug
>writeln("DBG: var X is: ", X, "'");
>
> ...
>
> When in the debugger
The compiler switch '-debug' isn't recognized (which isn't a
problem per se, but...)
"debug" statements in the code are ignored.
Example:
...
debug
writeln("DBG: var X is: ", X, "'");
...
When in the debugger (gdb) the "debug" section (the 2 lines
above) are simply ignored/stepped over.
There are some GDC-related issues that have come up in a D.learn thread on PyD
that it might be worth giving some input on:
http://forum.dlang.org/post/erxcosjrcwagclryy...@forum.dlang.org
10 matches
Mail list logo