this IS bug? bp not stop?

Rainer Schuetze via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Fri Nov 7 02:54:28 PST 2014



On 06.11.2014 13:18, sdvcn wrote:
> [code]
> import std.stdio;
>
> struct awaw{
>      string a1; //  <--
> }
>
> int main(string[] argv)
> {
>      writeln("Hello D-World!"); // <---BP
>      return 0;
> }
>
> [/code]
>
> remove string(a1) for struct ,bp of stop

I can reproduce, it is very likely a bug. The line number info of the 
implicitely generated functions __xtoHash and __xopEquals for structs 
overlap with the main function, and this seems to confuse the VS debugger.

Switching to the mago debug engine seems fine, breakpoints work there. 
This suggests a problem in cv2pdb...


More information about the Digitalmars-d-ide mailing list