D on Visual Studio?

BCS ao at pathlink.com
Tue Sep 11 13:32:56 PDT 2007


Reply to Martin,

> "kmd" <KeeperMustDie at gmail.com> wrote in message
> news:fc6kmu$gh$1 at digitalmars.com...
> 
>> Thanks, I'll check it. Still I wish that D would fully work on VS. It
>> can
>> improve D language popularity greatly. I think D really good language
>> but I using only VS as editor.
> What is really missing for D to become usable in bigger projects is an
> integrated development environment with a working debugger.
> 
> This is what I understand by a *working* integrated debugger:
> 
> a.) You should be able to set breakpoints directly in the source code,
> halt the program at this breakpoints, step into the debugee, set new
> breakpoints, etc. All a sensible debugger is able to do.  ;-)
> This is currently partly possible with the VC++ IDE, as it can read
> in the
> debugging info of the D compiler in OMF format (same as with
> windbg).
> However it seems, this doesn't work all times. Setting breakpoints
> in an
> IDE
> may also be possible with GDB based debuggers on Linux if using GDC,
> however I didn't try this yet.
> b.) You should be able to display the current values of all variables
> in a
> debugged program. This debugging info is not complete or  can not
> displayed completely within the debuggers - I am not sure what's all
> missing
> here. But this is an important point, which makes debugger sessions
> for
> D programs *useless* todays, because you can only see simple
> variables
> like e.g. that if type "int". And who wants to start development if
> he
> can't find and fix bugs in a convenient way? Inserting printf calls
> to
> display the current variables can't be the solution.
> So who will extend D debugging info and/or starts a project for
> extending an IDE like Visual Studio to be able to overcome the current
> shortcomings?!
> 
> Regards,
> 
> Martin
> 

There is DDBG that works under code blocks. Most of item a is available and 
much of item b is there but not integrated (expression work but aren't available 
from the IDE, watches don't work etc.)

There is room for improvment but it's a start





More information about the Digitalmars-d mailing list