Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-OML » library or example for good logging
library or example for good logging [message #1694276] Mon, 04 May 2015 07:22 Go to next message
Thomas Busch is currently offline Thomas BuschFriend
Messages: 23
Registered: November 2014
Junior Member
Hi,

I would like to get more detailed information about an executed transformation.
e.g. I would like to see, in which order the functions/mappings were executed and the depth of the executed functions (main() is depth 0, a function called by main has depth 1, ...), preferably with different logging-levels

Does some kind of library already exists, can somebody give me some example?

I was thinking about an abstract function/mapping which feeds some logging-functions/library and all other function/mappings inherit from the abstract one.
But I am not sure if that is possible, also I dont want to reinvent the wheel. The name of the inheriting function should be logged too, which I am not able to do.
Re: library or example for good logging [message #1694356 is a reply to message #1694276] Mon, 04 May 2015 16:31 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

The standard launch dialog gives you the option to create a trace model
which contains a lot of detail.

Hot off the press for Mars is a profiling/coverage capability. It's
hidden away obscurely as a select other at the bottom of the generic
tracing tab.

Regards

Ed Willink

On 04/05/2015 08:22, Thomas Busch wrote:
> Hi,
>
> I would like to get more detailed information about an executed
> transformation.
> e.g. I would like to see, in which order the functions/mappings were
> executed and the depth of the executed functions (main() is depth 0, a
> function called by main has depth 1, ...), preferably with different
> logging-levels
>
> Does some kind of library already exists, can somebody give me some
> example?
>
> I was thinking about an abstract function/mapping which feeds some
> logging-functions/library and all other function/mappings inherit from
> the abstract one. But I am not sure if that is possible, also I dont
> want to reinvent the wheel. The name of the inheriting function should
> be logged too, which I am not able to do.
>
Re: library or example for good logging [message #1694409 is a reply to message #1694356] Tue, 05 May 2015 07:53 Go to previous message
Thomas Busch is currently offline Thomas BuschFriend
Messages: 23
Registered: November 2014
Junior Member
The trace model is generally very good, but I do have a lot of functions which are not direct mappings and a lot of crazy logic. That decisions and function callings are not visible in the trace model. I assume that means I have to make me an individual logging
Previous Topic:template function in QVT?
Next Topic:QVTo Trying to convert EDate into DateTime (XMLGregorianCalendar))
Goto Forum:
  


Current Time: Sat Apr 27 03:58:13 GMT 2024

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

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

Back to the top