OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001031OMNeT++simulation kernelpublic2018-02-12 10:232018-02-12 10:23
Reporterattila 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version5.2 
Target VersionFixed in Version 
Summary0001031: Opening cWatchBase that wraps a composite object in the object inspector gives garbage results
DescriptionOpening a watch of a composite object (cObject, or struct with a descriptor) in the object inspector gives garbage values for the fields, and often crashes.
Steps To ReproduceRun tests/anim/watch in either Tkenv or Qtenv
Execute the first event (press F4)
In the object inspector, double click on "gm (GeneratedMessage) (new msg)"
-> Crash
Additional InformationcWatchBase (and all its specialized subclasses) lies about its own className.
In the case of a composite object (cObject [ptr or ref] and structs) it also returns a descriptor corresponding to the wrapped object.
This leads to the cWatchBase... object itself being inspected with the descriptor of the wrapped type.
Solution hint: proxy descriptor
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-02-12 10:23 attila New Issue


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker