Jump to page: 1 26  
Page
Thread overview
Ddbg 0.0.4 alpha release
Mar 04, 2007
Jascha Wetzel
Mar 05, 2007
Markus Dangl
Mar 05, 2007
Jascha Wetzel
Mar 05, 2007
Bill Baxter
Mar 05, 2007
Jascha Wetzel
Mar 05, 2007
Jascha Wetzel
Mar 06, 2007
Bill Baxter
Mar 06, 2007
Jascha Wetzel
Mar 06, 2007
Jascha Wetzel
Mar 10, 2007
torhu
Mar 10, 2007
Jascha Wetzel
Mar 05, 2007
Jascha Wetzel
Mar 05, 2007
dickl
Mar 05, 2007
Jascha Wetzel
Mar 06, 2007
vanh
Mar 06, 2007
Jascha Wetzel
Mar 06, 2007
vanh
Mar 06, 2007
Jascha Wetzel
Mar 07, 2007
vanh
Mar 06, 2007
dckl
Mar 05, 2007
J Duncan
Mar 05, 2007
Jascha Wetzel
Mar 05, 2007
J Duncan
Mar 06, 2007
Jascha Wetzel
Mar 08, 2007
J Duncan
Mar 09, 2007
Jascha Wetzel
Mar 05, 2007
Bill Baxter
Mar 05, 2007
Bill Baxter
Mar 06, 2007
Jascha Wetzel
Re: Ddbg 0.0.4 alpha release - bug report
Mar 06, 2007
dickl
Mar 06, 2007
Jascha Wetzel
Re: Ddbg 0.0.4 alpha release - another bug report
Mar 06, 2007
dickl
Mar 06, 2007
Jascha Wetzel
Mar 06, 2007
dickl
Mar 06, 2007
Jascha Wetzel
Mar 06, 2007
sd
Mar 06, 2007
Jascha Wetzel
Mar 07, 2007
sd
Mar 07, 2007
Sean Kelly
Mar 07, 2007
Jascha Wetzel
Mar 08, 2007
Jascha Wetzel
Mar 08, 2007
Jascha Wetzel
Mar 08, 2007
Sean Kelly
Mar 08, 2007
Jascha Wetzel
Mar 08, 2007
Sean Kelly
Mar 10, 2007
Jascha Wetzel
Mar 10, 2007
Sean Kelly
Mar 10, 2007
Sean Kelly
Mar 10, 2007
Jascha Wetzel
Re: Ddbg 0.0.4 alpha release - UTF8 problem
Mar 07, 2007
dickl
Mar 07, 2007
Jascha Wetzel
Mar 07, 2007
dickl
March 04, 2007
Ddbg is a Win32 D Debugger

http://ddbg.mainia.de/releases.html

This release mainly adds support for type cast and associative arrays. Type casts can be used to workaround the missing array and enum support in DMD's debug symbols.
March 05, 2007
Jascha Wetzel schrieb:
> Ddbg is a Win32 D Debugger
> 
> http://ddbg.mainia.de/releases.html
> 
> This release mainly adds support for type cast and associative arrays.
> Type casts can be used to workaround the missing array and enum support
> in DMD's debug symbols.

Great! I really love your debugger, it already saved my life several times the last week, i'm working on a SAT Solver in D and without your debugger it would have been nearly impossible to find some of the bugs!
March 05, 2007
Jascha Wetzel wrote:
> Ddbg is a Win32 D Debugger
> 
> http://ddbg.mainia.de/releases.html
> 
> This release mainly adds support for type cast and associative arrays.
> Type casts can be used to workaround the missing array and enum support
> in DMD's debug symbols.

Very nice!
cast(char[][])args works too.  This is starting to be really usable!

It would be nice to offer a way to print only part of a list though.

Most natural would probably be to expand the expression grammar to allow slices --
   cast(int[])hugelist[200..210];

I also noticed that the console window now appears with my program's writefln output.  Did you change something there?  Or maybe it was there before and I just didn't notice it?  (It appears behind the debugger window.)

--bb
March 05, 2007
slices are supported. in your example, the cast needs to be in brackets,
though: (cast(int[])hugelist)[200..210]

i've also updated the (very brief) docs for this release:
http://ddbg.mainia.de/doc.html

Bill Baxter wrote:
> Jascha Wetzel wrote:
>> Ddbg is a Win32 D Debugger
>>
>> http://ddbg.mainia.de/releases.html
>>
>> This release mainly adds support for type cast and associative arrays. Type casts can be used to workaround the missing array and enum support in DMD's debug symbols.
> 
> Very nice!
> cast(char[][])args works too.  This is starting to be really usable!
> 
> It would be nice to offer a way to print only part of a list though.
> 
> Most natural would probably be to expand the expression grammar to allow
> slices --
>    cast(int[])hugelist[200..210];
> 
> I also noticed that the console window now appears with my program's writefln output.  Did you change something there?  Or maybe it was there before and I just didn't notice it?  (It appears behind the debugger window.)
> 
> --bb
March 05, 2007
thanks, i'm glad it's being put to good use!

Markus Dangl wrote:
> Jascha Wetzel schrieb:
>> Ddbg is a Win32 D Debugger
>>
>> http://ddbg.mainia.de/releases.html
>>
>> This release mainly adds support for type cast and associative arrays. Type casts can be used to workaround the missing array and enum support in DMD's debug symbols.
> 
> Great! I really love your debugger, it already saved my life several times the last week, i'm working on a SAT Solver in D and without your debugger it would have been nearly impossible to find some of the bugs!
March 05, 2007
oh, the new console window is a change (also noted in the change-list ;) i thought that should be the better way to separate the program's from the debugger's ouput in codeblocks. you can switch between shared console and new console in Ddbg mode only, though. i forgot to add this for GDB mode. it's always on there.

Bill Baxter wrote:
> Jascha Wetzel wrote:
>> Ddbg is a Win32 D Debugger
>>
>> http://ddbg.mainia.de/releases.html
>>
>> This release mainly adds support for type cast and associative arrays. Type casts can be used to workaround the missing array and enum support in DMD's debug symbols.
> 
> Very nice!
> cast(char[][])args works too.  This is starting to be really usable!
> 
> It would be nice to offer a way to print only part of a list though.
> 
> Most natural would probably be to expand the expression grammar to allow
> slices --
>    cast(int[])hugelist[200..210];
> 
> I also noticed that the console window now appears with my program's writefln output.  Did you change something there?  Or maybe it was there before and I just didn't notice it?  (It appears behind the debugger window.)
> 
> --bb
March 05, 2007
maybe i should add that you can also do things like
(cast(uint[])hugelist)[start_index .. end_index]
if start_index and end_index are valid expressions/variables
or
(cast(uint[])(cast(mystruct)foo).hugelist)[(cast(uint)bla.start .. end]
and so on. all sorts of nested combinations should be possible.

Jascha Wetzel wrote:
> slices are supported. in your example, the cast needs to be in brackets,
> though: (cast(int[])hugelist)[200..210]
> 
> i've also updated the (very brief) docs for this release:
> http://ddbg.mainia.de/doc.html
> 
> Bill Baxter wrote:
>> Jascha Wetzel wrote:
>>> Ddbg is a Win32 D Debugger
>>>
>>> http://ddbg.mainia.de/releases.html
>>>
>>> This release mainly adds support for type cast and associative arrays. Type casts can be used to workaround the missing array and enum support in DMD's debug symbols.
>> Very nice!
>> cast(char[][])args works too.  This is starting to be really usable!
>>
>> It would be nice to offer a way to print only part of a list though.
>>
>> Most natural would probably be to expand the expression grammar to allow
>> slices --
>>    cast(int[])hugelist[200..210];
>>
>> I also noticed that the console window now appears with my program's writefln output.  Did you change something there?  Or maybe it was there before and I just didn't notice it?  (It appears behind the debugger window.)
>>
>> --bb
March 05, 2007
Jascha Wetzel wrote:
> Ddbg is a Win32 D Debugger
> 
> http://ddbg.mainia.de/releases.html
> 
> This release mainly adds support for type cast and associative arrays.
> Type casts can be used to workaround the missing array and enum support
> in DMD's debug symbols.

dbbg is turning into a great tool !

I took it from the docs that I should now be able to view contents of strings. This doesn't seem to be the case, at least for class members.

Test program
---------------------
import std.stdio;

int main(char[][] args)
{
    FOO foo = new FOO;

    return 0;
}

class FOO
{
    private char [] str = "Hello";

    this()
    {
        writefln(str);
    }
}

Debug results. Note ddbg reports str as null
-------------------
> M:\D-projects\TEST1>ddbg test.exe
> Ddbg v0.0.4 alpha - D Debugger
> Copyright (c) 2007 Jascha Wetzel
> http://ddbg.mainia.de/
> 
> ->bp test.d:1
> Breakpoint set: test.d:4 0x402010
> ->r
> ntdll.dll  loaded
> KERNEL32.dll  loaded
> USER32.dll  loaded
> GDI32.dll  loaded
> Breakpoint 0 hit
> test.d:4 0x402010
> int main(char[][] args)
> ->in
> test.d:6 0x402014
>     FOO foo = new FOO;
> ->
> test.d:15 0x402030
>     this()
> ->
> test.d:17 0x402037
>         writefln(str);
> ->lsv
> Scope: MFZC4test3FOO test.FOO._ctor
> class test.FOO* this [ebp-4]    = {str = 0x0041409800000005}
> ->= (cast(char[])this.str)
> null
> ->
> 
March 05, 2007
oh - bug! :) fixed in 0.0.4.1 which i just put on the website.
pointers didn't get handled correctly by the expression evaluator and
therefore the "this" reference wasn't interpreted correctly.
thanks for the report!

dickl wrote:
> Jascha Wetzel wrote:
>> Ddbg is a Win32 D Debugger
>>
>> http://ddbg.mainia.de/releases.html
>>
>> This release mainly adds support for type cast and associative arrays. Type casts can be used to workaround the missing array and enum support in DMD's debug symbols.
> 
> dbbg is turning into a great tool !
> 
> I took it from the docs that I should now be able to view contents of strings. This doesn't seem to be the case, at least for class members.
> 
> Test program
> ---------------------
> import std.stdio;
> 
> int main(char[][] args)
> {
>     FOO foo = new FOO;
> 
>     return 0;
> }
> 
> class FOO
> {
>     private char [] str = "Hello";
> 
>     this()
>     {
>         writefln(str);
>     }
> }
> 
> Debug results. Note ddbg reports str as null
> -------------------
>> M:\D-projects\TEST1>ddbg test.exe
>> Ddbg v0.0.4 alpha - D Debugger
>> Copyright (c) 2007 Jascha Wetzel
>> http://ddbg.mainia.de/
>>
>> ->bp test.d:1
>> Breakpoint set: test.d:4 0x402010
>> ->r
>> ntdll.dll  loaded
>> KERNEL32.dll  loaded
>> USER32.dll  loaded
>> GDI32.dll  loaded
>> Breakpoint 0 hit
>> test.d:4 0x402010
>> int main(char[][] args)
>> ->in
>> test.d:6 0x402014
>>     FOO foo = new FOO;
>> ->
>> test.d:15 0x402030
>>     this()
>> ->
>> test.d:17 0x402037
>>         writefln(str);
>> ->lsv
>> Scope: MFZC4test3FOO test.FOO._ctor
>> class test.FOO* this [ebp-4]    = {str = 0x0041409800000005}
>> ->= (cast(char[])this.str)
>> null
>> ->
>>
March 05, 2007
Jascha Wetzel wrote:
> Ddbg is a Win32 D Debugger
> 
> http://ddbg.mainia.de/releases.html
> 
> This release mainly adds support for type cast and associative arrays.
> Type casts can be used to workaround the missing array and enum support
> in DMD's debug symbols.

Just curious when you are going to release the source code?
« First   ‹ Prev
1 2 3 4 5 6