digitalmars.D.announce - Ddbg 0.0.2.3 alpha release
- Jascha Wetzel (4/4) Feb 23 2007 Ddbg is a Win32 D Debugger
- Kristian Kilpi (4/8) Feb 23 2007 Sweet! Now I am 'forced' to download C::B... ;)
- Bradley Smith (7/15) Feb 23 2007 I get an error when trying to use it within Code::Blocks. Here is the
- Bill Baxter (3/21) Feb 23 2007 Did you remember to compile -g?
- Jascha Wetzel (4/27) Feb 23 2007 he probably didn't. "Error: Empty CodeView data" is what happens in this
- Bradley Smith (12/16) Feb 23 2007 Sorry, but you are wrong. That was the first thing I checked. I did it
- Frits van Bommel (2/21) Feb 23 2007 Maybe it's because the default phobos.lib doesn't include debug symbols?
- Jascha Wetzel (5/24) Feb 23 2007 since C::B calls the linker separately, you need to also give the -g for
- Vladimir Panteleev (9/12) Feb 23 2007 Note to Code::Blocks users:
- Bradley Smith (4/20) Feb 23 2007 Yep. That does it. I'd call that a defect in the default D project
- =?UTF-8?B?QW5kZXJzIEYgQmrDtnJrbHVuZA==?= (6/8) Feb 24 2007 You can report any bugs with Code::Blocks on BerliOS at:
- Bill Baxter (7/16) Feb 24 2007 It didn't seem to work for me when I put it in the global settings.
- Walter Bright (5/8) Feb 23 2007 Most programmers don't know what Codeview is (since it's a very old
- Jascha Wetzel (2/13) Feb 23 2007
- Bill Baxter (16/23) Feb 23 2007 This is my jaw dropping
- John Reimer (6/34) Feb 23 2007 Yeah, I'm going to try this again. I've looked at Codeblocks before, bu...
- Jascha Wetzel (2/3) Feb 24 2007 i have to pass that question on to walter ;)
- vanh (5/12) Feb 24 2007 When I try to build in CodeBlock I got this error in build messages tab?
- Jascha Wetzel (3/16) Feb 25 2007 did you try to compile that same program manually?
- vanh (6/23) Feb 25 2007 Yes, manually compile the code with dmd work fine. So I downloaded the
Ddbg is a Win32 D Debugger http://ddbg.mainia.de/releases.html This release supports integration into the Code::Blocks IDE http://ddbg.mainia.de/cb_ddbg.jpg
Feb 23 2007
On Sat, 24 Feb 2007 00:16:16 +0200, Jascha Wetzel <"[firstname]" mainia.de> wrote:Ddbg is a Win32 D Debugger http://ddbg.mainia.de/releases.html This release supports integration into the Code::Blocks IDE http://ddbg.mainia.de/cb_ddbg.jpgSweet! Now I am 'forced' to download C::B... ;) ('Never had time' to do that until now.)
Feb 23 2007
Jascha Wetzel wrote:Ddbg is a Win32 D Debugger http://ddbg.mainia.de/releases.html This release supports integration into the Code::Blocks IDE http://ddbg.mainia.de/cb_ddbg.jpgI get an error when trying to use it within Code::Blocks. Here is the debugger log: Command-line: C:\ddbg\ddbg_gdb.exe -nx -fullname -quiet -args bin/Debug/test.exe Working dir : c:\programming\codeblocks\test\set prompt >>>>>>cb_gdb:Error: Empty CodeView data
Feb 23 2007
Bradley Smith wrote:Jascha Wetzel wrote:Did you remember to compile -g? --bbDdbg is a Win32 D Debugger http://ddbg.mainia.de/releases.html This release supports integration into the Code::Blocks IDE http://ddbg.mainia.de/cb_ddbg.jpgI get an error when trying to use it within Code::Blocks. Here is the debugger log: Command-line: C:\ddbg\ddbg_gdb.exe -nx -fullname -quiet -args bin/Debug/test.exe Working dir : c:\programming\codeblocks\test\ > set prompt >>>>>>cb_gdb: Error: Empty CodeView data
Feb 23 2007
he probably didn't. "Error: Empty CodeView data" is what happens in this case. debugging executables without symbols isn't supported, yet. Bill Baxter wrote:Bradley Smith wrote:Jascha Wetzel wrote:Did you remember to compile -g? --bbDdbg is a Win32 D Debugger http://ddbg.mainia.de/releases.html This release supports integration into the Code::Blocks IDE http://ddbg.mainia.de/cb_ddbg.jpgI get an error when trying to use it within Code::Blocks. Here is the debugger log: Command-line: C:\ddbg\ddbg_gdb.exe -nx -fullname -quiet -args bin/Debug/test.exe Working dir : c:\programming\codeblocks\test\ > set prompt >>>>>>cb_gdb: Error: Empty CodeView data
Feb 23 2007
Jascha Wetzel wrote:he probably didn't. "Error: Empty CodeView data" is what happens in this case. debugging executables without symbols isn't supported, yet.Sorry, but you are wrong. That was the first thing I checked. I did it again to make sure, and here is the build log: Build started on: 23-02-2007 at 15:45.20 Build ended on: 23-02-2007 at 15:45.20 -------------- Build: Debug in test --------------- dmd.exe -g -debug -IC:\dmd\src\phobos -c hello.d -ofobj\Debug\hello.obj dmd.exe bin\Debug\test.exe obj\Debug\hello.obj phobos.lib C:\dmd\bin\..\..\dm\bin\link.exe obj\Debug\hello,bin\Debug\test.exe,,phobos.lib+user32+kernel32/noi; Process terminated with status 0 (0 minutes, 0 seconds) 0 errors, 0 warnings
Feb 23 2007
Bradley Smith wrote:Jascha Wetzel wrote:Maybe it's because the default phobos.lib doesn't include debug symbols?he probably didn't. "Error: Empty CodeView data" is what happens in this case. debugging executables without symbols isn't supported, yet.Sorry, but you are wrong. That was the first thing I checked. I did it again to make sure, and here is the build log: Build started on: 23-02-2007 at 15:45.20 Build ended on: 23-02-2007 at 15:45.20 -------------- Build: Debug in test --------------- dmd.exe -g -debug -IC:\dmd\src\phobos -c hello.d -ofobj\Debug\hello.obj dmd.exe bin\Debug\test.exe obj\Debug\hello.obj phobos.lib C:\dmd\bin\..\..\dm\bin\link.exe obj\Debug\hello,bin\Debug\test.exe,,phobos.lib+user32+kernel32/noi; Process terminated with status 0 (0 minutes, 0 seconds) 0 errors, 0 warnings
Feb 23 2007
since C::B calls the linker separately, you need to also give the -g for the link call. you can do this by adding "-g" in your project's build options > linker settings > other linker options Bradley Smith wrote:Jascha Wetzel wrote:he probably didn't. "Error: Empty CodeView data" is what happens in this case. debugging executables without symbols isn't supported, yet.Sorry, but you are wrong. That was the first thing I checked. I did it again to make sure, and here is the build log: Build started on: 23-02-2007 at 15:45.20 Build ended on: 23-02-2007 at 15:45.20 -------------- Build: Debug in test --------------- dmd.exe -g -debug -IC:\dmd\src\phobos -c hello.d -ofobj\Debug\hello.obj dmd.exe bin\Debug\test.exe obj\Debug\hello.obj phobos.lib C:\dmd\bin\..\..\dm\bin\link.exe obj\Debug\hello,bin\Debug\test.exe,,phobos.lib+user32+kernel32/noi; Process terminated with status 0 (0 minutes, 0 seconds) 0 errors, 0 warnings
Feb 23 2007
On Sat, 24 Feb 2007 01:35:03 +0200, Jascha Wetzel <"[firstname]" mainia.de> wrote:he probably didn't. "Error: Empty CodeView data" is what happens in this case. debugging executables without symbols isn't supported, yet.Note to Code::Blocks users: 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 :) -- Best regards, Vladimir mailto:thecybershadow gmail.com
Feb 23 2007
Vladimir Panteleev wrote:On Sat, 24 Feb 2007 01:35:03 +0200, Jascha Wetzel <"[firstname]" mainia.de> wrote:Yep. That does it. I'd call that a defect in the default D project settings for Code::Blocks. Thanks.he probably didn't. "Error: Empty CodeView data" is what happens in this case. debugging executables without symbols isn't supported, yet.Note to Code::Blocks users: 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 :)
Feb 23 2007
Bradley Smith wrote:Yep. That does it. I'd call that a defect in the default D project settings for Code::Blocks.You can report any bugs with Code::Blocks on BerliOS at: https://developer.berlios.de/bugs/?group_id=5358 It can also be discussed on http://forums.codeblocks.org/ I'll be looking at ssues with D or Mac, when time allows. --anders
Feb 24 2007
Vladimir Panteleev wrote:On Sat, 24 Feb 2007 01:35:03 +0200, Jascha Wetzel <"[firstname]" mainia.de> wrote:It didn't seem to work for me when I put it in the global settings. I had to put it in the project settings. (Maybe because the default D project wizard overrides the setting?) Regardless, I think it needs to be fixed in the default project. If you put it in the global settings it applies to all build versions and not just Debug. --bbhe probably didn't. "Error: Empty CodeView data" is what happens in this case. debugging executables without symbols isn't supported, yet.Note to Code::Blocks users: 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:
Feb 24 2007
Jascha Wetzel wrote:he probably didn't. "Error: Empty CodeView data" is what happens in this case. debugging executables without symbols isn't supported, yet.Most programmers don't know what Codeview is (since it's a very old format). How about changing the message to: Error: No symbolic debug info present, try compiling with -g ?
Feb 23 2007
yep, it'll be in the next release Walter Bright wrote:Jascha Wetzel wrote:he probably didn't. "Error: Empty CodeView data" is what happens in this case. debugging executables without symbols isn't supported, yet.Most programmers don't know what Codeview is (since it's a very old format). How about changing the message to: Error: No symbolic debug info present, try compiling with -g ?
Feb 23 2007
Jascha Wetzel wrote:Ddbg is a Win32 D Debugger http://ddbg.mainia.de/releases.html This release supports integration into the Code::Blocks IDE http://ddbg.mainia.de/cb_ddbg.jpgThis is my jaw dropping _\ : : : : : : : : \_/ *clunk!* WOW. With CodeBlocks + ddbg, all the sudden D feels like a real language! How long till we can look at arrays? --bb
Feb 23 2007
On Sat, 24 Feb 2007 11:38:14 +0900, Bill Baxter wrote:Jascha Wetzel wrote:Yeah, I'm going to try this again. I've looked at Codeblocks before, but I think it was too buggy. Maybe it's improved now. Between this and eclipse/descent, things are looking good for D in this area. -JJRDdbg is a Win32 D Debugger http://ddbg.mainia.de/releases.html This release supports integration into the Code::Blocks IDE http://ddbg.mainia.de/cb_ddbg.jpgThis is my jaw dropping _\ : : : : : : : : \_/ *clunk!* WOW. With CodeBlocks + ddbg, all the sudden D feels like a real language! How long till we can look at arrays? --bb
Feb 23 2007
Bill Baxter wrote:How long till we can look at arrays?i have to pass that question on to walter ;)
Feb 24 2007
Jascha Wetzel wrote:Ddbg is a Win32 D Debugger http://ddbg.mainia.de/releases.html This release supports integration into the Code::Blocks IDE http://ddbg.mainia.de/cb_ddbg.jpgWhen I try to build in CodeBlock I got this error in build messages tab? .DEF Syntax Error === Build finished: 1 errors, 0 warnings === vtp
Feb 24 2007
did you try to compile that same program manually? i can't think of a C::B related problem that would cause such an error... vanh wrote:Jascha Wetzel wrote:Ddbg is a Win32 D Debugger http://ddbg.mainia.de/releases.html This release supports integration into the Code::Blocks IDE http://ddbg.mainia.de/cb_ddbg.jpgWhen I try to build in CodeBlock I got this error in build messages tab? .DEF Syntax Error === Build finished: 1 errors, 0 warnings === vtp
Feb 25 2007
Yes, manually compile the code with dmd work fine. So I downloaded the newer 2/24 build from codeblock web site. Now it works great thank for the debugger I been waiting for this for awhile now. vtp Jascha Wetzel wrote:did you try to compile that same program manually? i can't think of a C::B related problem that would cause such an error... vanh wrote:Jascha Wetzel wrote:Ddbg is a Win32 D Debugger http://ddbg.mainia.de/releases.html This release supports integration into the Code::Blocks IDE http://ddbg.mainia.de/cb_ddbg.jpgWhen I try to build in CodeBlock I got this error in build messages tab? .DEF Syntax Error === Build finished: 1 errors, 0 warnings === vtp
Feb 25 2007