This repository has been archived by the owner on Jan 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
Add support for generating tracing callbacks (in C generator). #266
Comments
nyssen
added a commit
that referenced
this issue
Dec 23, 2015
- Add Tracing generator feature with parameters to trigger generation of state-enter and state-exit callbacks. - Enhanced C code generator to generate callbacks to required header and respective calls based on corresponding trace steps. - Ensure that ADD_TRACES option is enabled for C code generator in case Tracing feature is enabled. Ensured its disabled for all other generators by default. Had to change contract of GenericDomainInjectorProvider to accept an overriding module, and replaced child injector usage in code generators with an overriding module instead.
Merged enhancement into master. Resolving as fixed. |
Reopened since the generated code is not compilable and complete. In detail there are the following problems:
|
We should define test cases for this feature. At least we require an entry for the manual test plan. |
I will take a look into it. |
nyssen
added a commit
that referenced
this issue
Jan 6, 2016
nyssen
added a commit
that referenced
this issue
Jan 6, 2016
Merged
nyssen
added a commit
that referenced
this issue
Jan 6, 2016
Fixed issues related to initial fix for issue #266.
I fixed the issues you named. What remains is to define test cases for this functionality. |
This was referenced Apr 4, 2016
BeckmaR
pushed a commit
that referenced
this issue
Dec 15, 2017
- Add Tracing generator feature with parameters to trigger generation of state-enter and state-exit callbacks. - Enhanced C code generator to generate callbacks to required header and respective calls based on corresponding trace steps. - Ensure that ADD_TRACES option is enabled for C code generator in case Tracing feature is enabled. Ensured its disabled for all other generators by default. Had to change contract of GenericDomainInjectorProvider to accept an overriding module, and replaced child injector usage in code generators with an overriding module instead.
BeckmaR
pushed a commit
that referenced
this issue
Dec 15, 2017
- Add Tracing generator feature with parameters to trigger generation of state-enter and state-exit callbacks. - Enhanced C code generator to generate callbacks to required header and respective calls based on corresponding trace steps. - Ensure that ADD_TRACES option is enabled for C code generator in case Tracing feature is enabled. Ensured its disabled for all other generators by default. Had to change contract of GenericDomainInjectorProvider to accept an overriding module, and replaced child injector usage in code generators with an overriding module instead.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We should create a code generator feature that enables creation of callbacks, via which entering and exiting of states an be traced. The callbacks could be generated into the 'Required' header. It should pass a respective state identifier.
The text was updated successfully, but these errors were encountered: