Ddbg 0.0.2.3 alpha, DSSS 0.54, Rebuild 0.12

February 24th, 2007 | by Aldacron |

Jascha Wetzel has released Ddbg 0.0.2.3 alpha. You can now integrate Ddbg with Code::Blocks. There is a caveat though — C::B compiles and links in separate phases and the default project settings (for D projects) don’t account for this when building in debug mode. This note from Vladimir Panteleev will straighten out those who can’t figure it out for themselves:

When building D programs from the CB IDE, you need to pass the -g parameter to DMD not just in the compilation phase, but in the link phase as well. Since with DMD, dmd.exe is the linker as well, you have to set the following options either in the project’s build options or in the global “Compiler and debugger” settings:

1) Compiler settings -> Compiler flags -> check “add symbolic debug info [-g]” (and, optionally, “compile in debug code [-debug])

2) Linker settings -> Other linker options - add “-g”.

Now, just set the debugger in Compiler settings -> Toolchain executables to ddbg_gdb.exe, and you should be able to debug your programs

In other news, Gregor has released DSSS 0.54 and Rebuild 0.12. The new DSSS release “fixes a number of bugs”, though it’s not clear to me what they are. From Gregor:

If you had issues you brought to my attention with 0.52, you should try 0.54.

Technorati Tags: , , , , , ,

Post a Comment