ddbg access violation when main defined with no arguments

Emil Ivanov emil.vladev at gmail.com
Fri May 18 13:15:03 PDT 2007


Hi,

I just got my hands on D programming and setup my environment.

I noticed that the ddbg reports for and access violation exception when main is defined with no arguments. 
The program compiles and executes just fine.


module main;

import std.stdio;

void main() {
	
	writef("Hello");
}

This breaks...

module main;

import std.stdio;

void main(char[][] args) {
	
	writef("Hello");
}

This doesn't...

I thought it good to share my experiences.
(WinXP SP2, dmd 1.010, ddbg 0.08.1)

Regards,
Emil Ivanov


More information about the Digitalmars-d-debugger mailing list