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 17: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 10:55 Go to previous message
Dennis Wagelaar is currently offline Dennis Wagelaar
Messages: 166
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.

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


Current Time: Sat Oct 25 00:45:18 GMT 2014

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

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