Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » breakpoints in xtend files
breakpoints in xtend files [message #871502] Mon, 14 May 2012 09:15 Go to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1814
Registered: July 2009
Location: Firenze, Italy
Senior Member
Hi

I'm using xtext 2.3.0M7 and I thought I could be able to set breakpoints
in xtend2 files (and also in my DSL files which rely on xbase and
generate java code with the inferrer), but I cannot set any breakpoint
(the context menu does not present that option); however, I seem to
remember that in the demos and presentations of the new xtext 2.3
feature it was possible to do that, wasn't it? Note that however I can
still debug xtend files, but I cannot set breakpoints...

thanks in advance
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Re: breakpoints in xtend files [message #871522 is a reply to message #871502] Mon, 14 May 2012 10:20 Go to previous messageGo to next message
Renaud Helias is currently offline Renaud HeliasFriend
Messages: 4
Registered: May 2012
Junior Member
xtend just generates java files on src-xtend, you can put breakpoints on them java files.
Re: breakpoints in xtend files [message #871523 is a reply to message #871522] Mon, 14 May 2012 10:25 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1814
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 05/14/2012 12:20 PM, Renaud Helias wrote:
> xtend just generates java files on src-xtend, you can put breakpoints on
> them java files.

but it is supposed to be possible to set breakpoints also in xtend file
directly (http://www.eclipse.org/xtend/new_and_noteworthy/index.html):

"
Debugging since M6

Debugging through Xtend and Java is now fully supported. Setting
breakpoints in Xtend works just as in Java
"

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Re: breakpoints in xtend files [message #871537 is a reply to message #871523] Mon, 14 May 2012 11:09 Go to previous messageGo to next message
Dennis Huebner is currently offline Dennis HuebnerFriend
Messages: 257
Registered: July 2009
Senior Member

Context menu entry is indeed missing but you can doubble-click the breakpoint ruler,
or use the ⇧⌘B short cut.



+Dennis Huebner

Get professional support from the Xtext committers at www.typefox.io
Re: breakpoints in xtend files [message #1220367 is a reply to message #871537] Wed, 11 December 2013 10:54 Go to previous messageGo to next message
anudeep arya is currently offline anudeep aryaFriend
Messages: 49
Registered: March 2013
Member
how can i debug .ext file(old extend)..it doesn't have a corresponding java file nor i can set break points in xtend file..

Regards,
Anudeep.
Re: breakpoints in xtend files [message #1220443 is a reply to message #1220367] Wed, 11 December 2013 18:52 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14720
Registered: July 2009
Senior Member
Hi,

for the old xpand/xtend there is the m2t newsgroup.
never the less i have xpand sdk installed an when i edit a file with xtend editor I can set breakpoints in .ext files.
call it through an mwe(1) workflow and you should be able to debug

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com
Previous Topic:Defining a customized IBuilderState
Next Topic:How to support a such a different overloading which is different from Java
Goto Forum:
  


Current Time: Fri Oct 04 09:56:36 GMT 2024

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

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

Back to the top