bug

bobef asd at asd.asd
Mon Apr 9 12:09:46 PDT 2007


As you can see below, if you set a bp in a loop and when it is reached you re-set it on the same line and run again, the break point is not working.




test.d

--------------------------------

module test;

int main(char[][] argv)
{
	for(int c=0;c<50;c++)
	{
		c=c; //line 7
		c=c;
		c=c;
		c=c;
		c=c;
	}
	return 0;
}


C:\......>ddbg test.exe
Ddbg v0.0.6 alpha - D Debugger
Copyright (c) 2007 Jascha Wetzel
http://ddbg.mainia.de/

->bp test.d:7
Breakpoint set: test.d:7 0x402021
->r
ntdll.dll  loaded
KERNEL32.dll  loaded
USER32.dll  loaded
GDI32.dll  loaded
IMM32.dll  loaded
ADVAPI32.dll  loaded
RPCRT4.dll  loaded
LPK.dll  loaded
USP10.dll  loaded
msvcrt.dll  loaded
Breakpoint 0 hit
test.d:7 0x402021
                c=c;
->bp test.d:7
Breakpoint set: test.d:7 0x402021
->r
Process terminated
->


More information about the Digitalmars-d-debugger mailing list