How to debug in Visual studio?

Lionello Lunesu lionello at lunesu.remove.com
Fri Dec 8 23:39:44 PST 2006


??? I'm using VS2005 too, and VS will happily show the line number for 
exceptions. I've been debugging D with VC6 and VS2003 as well.

The linker might not support OMF, but the debugger hasn't changed, I think.

Have a look at vsplugind on dsource.org.. It will get you syntax 
highlighting and F7-building in VS2005, but it shouldn't be needed for 
debugging. (Not even for syntax highlighting, you can do that with a 
"usertype.dat" in the VS bin folder)

L.

"Robin Min" <luonbin at hotmail.com> wrote in message 
news:eld95i$1r2b$1 at digitaldaemon.com...
> really? On my laptop, there is only VS2005, it is not work well as you'd 
> said,although I had append the '-g'.
>
> I think maybe you mean some old version of Visual studio? for example ,VC6 
> or older, I do not check it ,
> casuse do not installed this old dev-env.
>
> After google, I got some information about VS2005: from this version 
> ,M$-linker will not support link OMF
> format .obj file. Otherwise your will get some link error message.
>
> So my question is is there already any solution on this problem? I belive 
> someother linker can do this job,
> but I am not sure.
>
>
> BR
> Robin Min
>
>
>
>
> "Lionello Lunesu" <lionello at lunesu.remove.com> 
> дÈëÏûÏ¢ÐÂÎÅ:elcjln$16ud$1 at digitaldaemon.com...
>> VS will understand DMD's objs just fine, but make sure you compile 
>> with -g for the symbolic info.
>>
>> L.
>>
>> "Robin Min" <luonbin at hotmail.com> wrote in message 
>> news:elbshi$dc5$1 at digitaldaemon.com...
>>> hi, guys
>>>    I am a newbie need your help.
>>>    I had config my MS-IDE to develop my D application.But my question is 
>>> , after I using 'dmd -c',I got the .obj file,maybe as you know , this 
>>> .obj is OMF format; It is mean that I can not use MS-Linker to get one 
>>> .exe and .pdb file for debug .
>>>    what can I do in this case? I know some tools using for convert COFF 
>>> format to OMF, Is there any tools can help me conver OMF to COFF?
>>>
>>>    any response will be appreciate.
>>>
>>> Best Regard
>>> Robin Min
>>>
>>
>>
>
> 





More information about the Digitalmars-d mailing list