Running DMD in GUI Debugger: Getting Started?

torhu no at spam.invalid
Thu Dec 8 19:35:33 PST 2011


On 09.12.2011 03:20, Nick Sabalausky wrote:
> "torhu"<no at spam.invalid>  wrote in message
>>
>>  There's actually an easy way of doing this, but AFAIK it's not accessible
>>  from within the IDE itself.  Just give the name of the executable as a
>>  command line parameter to msvc.  Like "vcexpress dmd.exe", replace
>>  vcexpress with msdev or whatever the name of the full version IDE
>>  executable is.  This opens msvc in a special mode where you can actually
>>  start debugging that executable without creating a project or anything.
>
> Ahh, cool! Is it still able to somehow know which source files to use?

It'll use the file names from the debug info, like it always does.  I 
don't know if it'll open the files by itself, but you can just find the 
files manually and drag and drop them into the editor part of the IDE. 
The debugger will assume it's the right file if the name matches.


More information about the Digitalmars-d-debugger mailing list