[Issue 11516] New: Wrong symbol in debug watch due to name collision

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 14 10:26:17 PST 2013


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

           Summary: Wrong symbol in debug watch due to name collision
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: VisualD
        AssignedTo: nobody at puremagic.com
        ReportedBy: ehysta at gmail.com


--- Comment #0 from pravic <ehysta at gmail.com> 2013-11-14 10:26:16 PST ---
Example:

    if(0) {
        byte key = 12;
        key -= 2;
        log.trace(key);
    }
    else {
        byte key = 0;
        key++;
        log.trace(key);
    }

In watch we can see only an uninitialized first variable (e.g -1) even code
path evaluated to lines below.

Mago debugger, latest VisualD version.

(cv2pdb isn't work)

-- 
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