FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Pls provide debuggable dfl_dbg.lib

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
Lynn



Joined: 27 Aug 2004
Posts: 89

PostPosted: Thu Jun 02, 2005 9:31 am    Post subject: Pls provide debuggable dfl_dbg.lib Reply with quote

I'm would appreciate being able to use VisualStudio to step-around inside dfl.lib to see how it does certain things.

Looking at makelib.bat, I notice you have the dmd command line with -c -debug -O ... both debug and optimize flags. Is that intended? In any case, I'm not able to use VisualStudio-98 to step-into dfl.lib.

I tried to build dfl_dbg.lib, but had a problems with user32_dfl.lib and shell32_dfl.lib (as noted in another post) ... lib.exe claimed they were corrupt for some reason.

And thanks for your efforts on dfl!
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Thu Jun 02, 2005 11:33 am    Post subject: Re: Pls provide debuggable dfl_dbg.lib Reply with quote

Lynn wrote:
Looking at makelib.bat, I notice you have the dmd command line with -c -debug -O ... both debug and optimize flags. Is that intended?

Yes, I wanted the asserts and such to be compiled in but also have the code optimized; seemed like a good tradeoff.
Back to top
View user's profile Send private message
Lynn



Joined: 27 Aug 2004
Posts: 89

PostPosted: Thu Jun 02, 2005 3:11 pm    Post subject: Reply with quote

Interesting ... I wonder if there are other trade-offs. Slower? Bigger?

In any case, I wasn't able to use the VisualStudio98 debugger even with the -O optimize flag removed ...

I ended up putting together a VS98 project .... works, but tedious to get the custom build steps all set correctly for the D modules I wanted to be able to look at.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group