rainers/mago

__entrypoint.main() is found

Opened this issue · 1 comments

This sample application cannot be debugged

import std.stdio;

void main(string[] args)
{
	writeln(args);
}

I set a breakpoint on the writeln(args) command but the debugger stops on __entrypoint.main()

image

That's the C main function that is automatically generated with D's main. Unfortunately it has debug information that overlaaps with user code (blame the compiler). Press F5 again and it will stop at the writeln.