Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » [EMFTVM] writing to console
[EMFTVM] writing to console [message #1385167] Wed, 04 June 2014 13:27 Go to next message
Maxim Gromov is currently offline Maxim Gromov
Messages: 7
Registered: May 2014
Junior Member
Are there any possibilities to write to the console when using EMFTVM? There is println() method for strings and it does work with ATL just fine, but in case of EMFTVM I've got following exception:
org.eclipse.m2m.atl.emftvm.util.VMException: java.lang.UnsupportedOperationException: #native!java.lang.String::println()

Thank you!
Re: [EMFTVM] writing to console [message #1385279 is a reply to message #1385167] Thu, 05 June 2014 06:55 Go to previous message
Dennis Wagelaar is currently offline Dennis Wagelaar
Messages: 155
Registered: September 2012
Senior Member

You can use debug(), which is the same as println() except that it returns the value on which is was invoked.

Previous Topic:[EMFTVM] Problem with inout model in ANT lauch file
Next Topic:additional function
Goto Forum:

Current Time: Wed Aug 27 15:15:45 EDT 2014

Powered by FUDForum. Page generated in 0.01523 seconds