-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracing option fails to appear in targetConfig #1602
Comments
I think this issue relates to the one I created 2 days ago: Target tracing property is not "inherited" is all the generated individual federates #1597. |
What is the problem with the TargetProperty class? If there was a bug there, tracing wouldn't work at all, also not in an unfederated program. Maybe we should start addressing the Update: if we want each federate to inherit target properties from the main file, which I'm not sure is generally true but probably is true for the |
See #1597 (comment) |
These questions should have been addressed, I think, as part of the development of the fed-gen approach. Anyway, help would be welcome. I was not involved in either the fed-gen idea nor the implementation. I personally feel that federated execution (and scheduling enclaves) have higher priority than, say, bodiless reactions. |
Do my changes address the problem satisfactorily? If so, let's close this issue. |
It seems that now the
This seems to be getting the target properties from the first federate, which has Unfortunately, I still don't have a working debugger now that Eclipse no longer works, so I unable to trace this. Can @lhstrh help? |
OK, will look into this. This needs to be fixed to get multi-target federations working, anyway. |
Work in progress can be found here: #1663. I will also add unit tests to make sure that options propagate to federates... |
In the tracing-federates branch, I attempted to add the following lines to FedLauncher.java:
However, even when
tracing
is set to true,targetConfig.tracing
is null. I don't understand the code in TargetProperty.java. Can you fix this?The text was updated successfully, but these errors were encountered: