Skip to main content



      Home
Home » Modeling » Papyrus » Log during state machine C++ code execution
Log during state machine C++ code execution [message #1810235] Mon, 05 August 2019 10:51 Go to next message
Eclipse UserFriend
Hello,

I'm looking for a way to follow the execution of state machines during C++ code execution. I would know if there is any tool to help to do that in Papyrus and Papyrus software designer.
The state machine monitoring enables to follow the execution of a state machine visually but I would something more formal.

The ideal way could be to extend the state machine monitoring by adding a side tool to log the state machine execution trace in a file.

Is there any tool which can match this need (more or less)?

Thanks to Papyrus team.

Regards.

Yoann.
Re: Log during state machine C++ code execution [message #1810411 is a reply to message #1810235] Fri, 09 August 2019 13:16 Go to previous messageGo to next message
Eclipse UserFriend
Hi Yoann,

we once did some work to have trace support for LTTng, but this work has not been maintained and is unlikely to work. The tracing was not specifically for state-machines, but a general instrumentation mechanism. For your purpose, it would probably be useful to add a specific state-machine instrumentation, but also use LTTng to benefit from the Eclipse-based tooling as well as from a simple Papyrus integration (clicking on a trace event enables navigation to the associated model event).

Ansgar
Re: Log during state machine C++ code execution [message #1810446 is a reply to message #1810411] Mon, 12 August 2019 03:28 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ansgar,

Thanks for your reply.

I don't know this tracing framework. but from what I read, we could use it, and as you suggest, add a specific support to monitore state machine execution.

Is this previous work regarding LTTng instrumentation available on a git repository?

Yoann.

Re: Log during state machine C++ code execution [message #1816748 is a reply to message #1810446] Wed, 06 November 2019 04:42 Go to previous message
Eclipse UserFriend
Hello,

Is there any link to the previsous work for trace suuport (LTTng)? I'm really interested by a such feature.

Regards.

Yoann
Previous Topic:Automatic stereotype application
Next Topic:Empty uml file after several delete/re-add of elements in a sequence diagram
Goto Forum:
  


Current Time: Sun Nov 02 04:44:44 EST 2025

Powered by FUDForum. Page generated in 0.03777 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top