www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20251] New: `size_t.max` does not show value in debugger

https://issues.dlang.org/show_bug.cgi?id=20251

          Issue ID: 20251
           Summary: `size_t.max` does not show value in debugger
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: minor
          Priority: P1
         Component: visuald
          Assignee: nobody puremagic.com
          Reporter: turkeyman gmail.com

If you have `byte.max` in your code, and you hover over it, you will see `127`
If you have `long.max`, you will see a really big number as expected
If you have `size_t.max` or `ptrdiff_t.max`, you will see `{...}`

It would be good if these fundamental types did show correctly. They're just
simple aliases, so I suspect if size_t/ptrdiff_t don't work, then a whole lot
of other things may also not work for the same reason.

--
Sep 29 2019