Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext debugging without Xbase(How to begin?)
Xtext debugging without Xbase [message #1693316] Thu, 23 April 2015 07:37 Go to next message
Rodolfo AP is currently offline Rodolfo APFriend
Messages: 7
Registered: April 2015
Junior Member
Hi, I'm a newbie to Xtext, and I find it great Smile

I've written a small code generator to java using the standard generator, now I want to link my DSL elements to my model types, to implement debugging like on xtextcasts.org/episodes/5-debug-support -minute 8:00, uses it.trace()-. But I don't want to depend on Xbase, or use the xbase terminals.

Using LineMappingProvider, or TraceAs*Installer sounds well, but I don't get how to wire them. How should I begin? Is there any examples of text about using the generator.trace package?

Thanks!

Rodolfo
Re: Xtext debugging without Xbase [message #1694126 is a reply to message #1693316] Thu, 30 April 2015 18:02 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
I'm afraid the only "example" is the xbase generator itself.
So you need to look at that a copy the approach.
Previous Topic:Formatter2: how to correctly format a block (indentation)
Next Topic:Plan to support other platforms?
Goto Forum:
  


Current Time: Thu Apr 18 16:47:45 GMT 2024

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

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

Back to the top