D on monoDevelop : can't compile in Debug mode

Minas minas_mina1990 at hotmail.co.uk
Thu Mar 1 07:16:12 PST 2012

I have started learning D a few days ago, and I absolutely love it!

However text editors do not satisfy me when writing code - I want to have an
IDE with code completion.

So I downloaded mono developed, which seems really good. I configured dmd and
everything works ok. I can build a project, run it, and even use some C
functions inside D.

However, the above work only in Release Mode! In Debug Mode I get an error
message that tells me nothing!

First, let me show you my code:

extern (C) int factorial(int); // in factorial.obj

import std.stdio;

void main()

Note that the above works in release mode.
When trying to compile in debug mode, I get:

Error: Build failed - check build output for details (D_Test)

In the obj/debug folder that mono develop creates, I can see the file main.obj
but there is no executable in bin/debug! Does this have something to do with

Thank you in advance.

More information about the Digitalmars-d-ide mailing list