Skip to main content

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 GromovFriend
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 WagelaarFriend
Messages: 363
Registered: September 2012
Location: Belgium
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:Migration from ATL to EMFTVM
Next Topic:additional function
Goto Forum:

Current Time: Thu Jun 21 06:44:06 GMT 2018

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

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

Back to the top