View previous topic :: View next topic |
Author |
Message |
Lynn
Joined: 27 Aug 2004 Posts: 89
|
Posted: Thu Jun 02, 2005 9:31 am Post subject: Pls provide debuggable dfl_dbg.lib |
|
|
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 |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Thu Jun 02, 2005 11:33 am Post subject: Re: Pls provide debuggable dfl_dbg.lib |
|
|
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 |
|
|
Lynn
Joined: 27 Aug 2004 Posts: 89
|
Posted: Thu Jun 02, 2005 3:11 pm Post subject: |
|
|
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 |
|
|
|