Skip to main content



      Home
Home » Modeling » TMF (Xtext) » breakpoints in xtend files
breakpoints in xtend files [message #871502] Mon, 14 May 2012 05:15 Go to next message
Eclipse UserFriend
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 06:20 Go to previous messageGo to next message
Eclipse UserFriend
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 06:25 Go to previous messageGo to next message
Eclipse UserFriend
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 07:09 Go to previous messageGo to next message
Eclipse UserFriend
Context menu entry is indeed missing but you can doubble-click the breakpoint ruler,
or use the ⇧⌘B short cut.
Re: breakpoints in xtend files [message #1220367 is a reply to message #871537] Wed, 11 December 2013 05:54 Go to previous messageGo to next message
Eclipse UserFriend
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 13:52 Go to previous message
Eclipse UserFriend
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
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: Tue Mar 18 00:52:15 EDT 2025

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

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

Back to the top