Anonymous | Login | 2021-01-17 12:33 UTC | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0001031 | OMNeT++ | simulation kernel | public | 2018-02-12 10:23 | 2018-02-12 10:23 | ||||||||
Reporter | attila | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | new | Resolution | open | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | 5.2 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0001031: Opening cWatchBase that wraps a composite object in the object inspector gives garbage results | ||||||||||||
Description | Opening 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 Reproduce | Run 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 Information | cWatchBase (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 | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files | |||||||||||||
![]() |
|||
Date Modified | Username | Field | Change |
2018-02-12 10:23 | attila | New Issue |
Copyright © 2000 - 2021 MantisBT Team |