Bug 16690 – New debug experience: "Children could not be evaluated" popup with zero length slices (ie, null ptr)

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
visuald
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2016-11-16T02:01:00Z
Last change time
2017-02-16T19:51:19Z
Assigned to
nobody
Creator
turkeyman

Comments

Comment #0 by turkeyman — 2016-11-16T02:01:18Z
null slices show "Children could not be evaluated" when hovering. It would be nice if the normal expansion worked, but it was empty instead (no children listed). The error message leads you to think something is wrong; bad pointer or something. (yes, null *is* a bad pointer, but if length == 0, any pointer should be accepted without producing the error) Same story for null strings obviously.
Comment #1 by r.sagitario — 2017-02-16T19:51:19Z
Fixed in https://github.com/dlang/visuald/releases/tag/v0.44-rc1 (mybe even in the last beta)