[Issue 12163] pdb debugging (win64): stepping loops points to incorrect lines

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 15 01:59:08 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12163



--- Comment #4 from yazan.dabain at gmail.com 2014-02-15 01:59:01 PST ---
Ohh, your expected output is incorrect.
The test is (i != 3) not (i == 3).

And so, the expected output is:

2    int[] things = [1,2,3,4];
4    foreach(i; things)
6      if(i == 2)
9      if(i != 3)
11       int x = 0;
13   }                          <-- missing/questionable
4    foreach(i; things)
6      if(i == 2)
7        continue;              <-- missing
13   }                          <-- missing/questionable
4    foreach(i; things)
6      if(i == 2)
9      if(i != 3)
13   }                          <-- missing/questionable
4    foreach(i; things)
6      if(i == 2)
9      if(i != 3)
11       int x = 0;
13   }                          <-- missing/questionable
4    foreach(i; things)
15   int last = 0;
16 }

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list