Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Xtext web editor -- debug mode
Xtext web editor -- debug mode [message #1724400] Tue, 23 February 2016 11:51 Go to next message
Eclipse UserFriend
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 12:27 Go to previous messageGo to next message
Eclipse UserFriend
Try setting debug = true in the jettyRun task in the build.gradle file and connect a remote debug session from Eclipse to port 5005.
Re: Xtext web editor -- debug mode [message #1724428 is a reply to message #1724405] Tue, 23 February 2016 16:33 Go to previous messageGo to next message
Eclipse UserFriend
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 03:01 Go to previous message
Eclipse UserFriend
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: Mon Jul 14 05:12:06 EDT 2025

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

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

Back to the top