Ddbg 0.0.4 alpha release - another bug report
Jascha Wetzel
"[firstname]" at mainia.de
Tue Mar 6 12:17:00 PST 2007
more thanks :)
fixed in 0.0.4.3
dickl wrote:
> Found another one... The debugger doesn't always seems to single step
> correctly. Happens with "in" and "ov" stepping. Steps correctly up to a
> point then the app runs to completion.
>
> Source
> ----------------------
> import std.stdio;
> import std.c.string;
> int main()
> {
> //QSettings f = new QSettings;
> char [1024] Cmd;
> strcpy(Cmd.ptr, "Hello");
> printf("%s\n",Cmd.ptr); // have to printf 'cos writefln throws
> writefln("Finis");
> return 0;
> }//end int main()
>
> Debug Results
> ---------------------
> Ddbg v0.0.4.2 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()
> ->in
> test.d:7 0x402015
> char [1024] Cmd;
> ->
> test.d:8 0x402027
> strcpy(Cmd.ptr, "Hello");
> ->
> Hello
> Finis
> Process terminated
> ->
More information about the Digitalmars-d-announce
mailing list