@Rainer is this a D2 issue as well? If so how can we address it?
Comment #8 by r.sagitario — 2019-08-20T21:38:00Z
(In reply to Andrei Alexandrescu from comment #7)
> @Rainer is this a D2 issue as well? If so how can we address it?
Yes, wchar looks ok, dchar is emitted as an uint, i.e. the character is not displayed in the debugger.
VS2019's C++ compiler emits T_CHAR32 for a char32_t variable and displays it correctly, using that with dmd works, too (after a small patch to mago, it shows it as wchar right now).
I guess it should be ok to switch to T_CHAR32, ignoring ancient debuggers that might not support it.
Comment #9 by andrei — 2019-08-20T22:36:00Z
@Rainers thanks! I will assign this to you in the interim, feel free to reassign or better yet it would be great to look into it.
Comment #10 by dlang-bot — 2019-08-21T06:34:27Z
@rainers created dlang/dmd pull request #10327 "fix issue 1104 - CodeView: dchar shown as uint in the debugger" fixing this issue:
- fix issue 1104 - CodeView: dchar shown as uint in the debugger
https://github.com/dlang/dmd/pull/10327
Comment #11 by dlang-bot — 2019-08-21T09:25:59Z
dlang/dmd pull request #10327 "fix issue 1104 - CodeView: dchar shown as uint in the debugger" was merged into master:
- d60e03f200df71b17bdd213802208fbcd88e5cb0 by Rainer Schuetze:
fix issue 1104 - CodeView: dchar shown as uint in the debugger
https://github.com/dlang/dmd/pull/10327
Comment #12 by razvan.nitu1305 — 2019-08-22T08:38:15Z
*** Issue 1430 has been marked as a duplicate of this issue. ***