Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext web editor -- debug mode
Xtext web editor -- debug mode [message #1724400] Tue, 23 February 2016 16:51 Go to next message
Mary Komor is currently offline Mary KomorFriend
Messages: 61
Registered: July 2009
Member
I'm new to gradle builds...

I used the gradle option to set up the Xtext web editor for my DSL and have
it working now. I have started to add some customizations and to debug and
step through my customization code (e.g. custom content assist proposals).
How do I launch the web editor in debug mode so that I can hit breakpoints
set in my custom code in Eclipse?

I currently run the gradle task jettyRun from Eclipse (Gradle Tasks view) to
launch the editor.

Thanks for your help!

Mary
Re: Xtext web editor -- debug mode [message #1724405 is a reply to message #1724400] Tue, 23 February 2016 17:27 Go to previous messageGo to next message
Jan Koehnlein is currently offline Jan KoehnleinFriend
Messages: 760
Registered: July 2009
Location: Hamburg
Senior Member
Try setting debug = true in the jettyRun task in the build.gradle file and connect a remote debug session from Eclipse to port 5005.

---
Get professional support from the Xtext committers at www.typefox.io
Re: Xtext web editor -- debug mode [message #1724428 is a reply to message #1724405] Tue, 23 February 2016 21:33 Go to previous messageGo to next message
Mary Komor is currently offline Mary KomorFriend
Messages: 61
Registered: July 2009
Member
Yes! That worked!! Thanks!!

Mary

"Jan Koehnlein" wrote in message news:nai4pi$5ft$1@xxxxxxxxe.org...

Try setting debug = true in the jettyRun task in the build.gradle file and
connect a remote debug session from Eclipse to port 5005.
--
---
Get professional support from the Xtext committers at www.typefox.io
Re: Xtext web editor -- debug mode [message #1724479 is a reply to message #1724428] Wed, 24 February 2016 08:01 Go to previous message
Miro Spönemann is currently offline Miro SpönemannFriend
Messages: 78
Registered: March 2015
Location: Kiel, Germany
Member

After you have executed `gradle eclipse` you should also be able to run the ServerLauncher in debug mode directly from Eclipse.
Previous Topic:Question related to partial parsing
Next Topic:IllegalStateException for specific text
Goto Forum:
  


Current Time: Tue Apr 23 06:43:15 GMT 2024

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

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

Back to the top