Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » LSP -> Debugger implementation
LSP -> Debugger implementation [message #1810228] Mon, 05 August 2019 11:32 Go to next message
Martin BREUNEVAL is currently offline Martin BREUNEVALFriend
Messages: 17
Registered: July 2019
Junior Member
Hello guys,
I'm currently working on an DSL project with Xtext that i almost finished.
I need to add an LSP behavior to my already existing project (not prepared at all for LSP).

The goal of the operation would be to have an actual debugger with my DSL.

Is it possible to do so? If yes, could you orientate me ?
I've looked for many topics regarding LSP/xtext but i couldn't undertand a part (or it wasn't in relation with my project)

Thank you already
Re: LSP -> Debugger implementation [message #1810229 is a reply to message #1810228] Mon, 05 August 2019 11:36 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
sorry i dont know of any implementation of the debug adapter protocol with xtext yet

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: LSP -> Debugger implementation [message #1810230 is a reply to message #1810229] Mon, 05 August 2019 11:49 Go to previous messageGo to next message
Martin BREUNEVAL is currently offline Martin BREUNEVALFriend
Messages: 17
Registered: July 2019
Junior Member
DO you know if that's even possible to debug by any other way (out of the LSP thing) ? Like something that states the variables on breakpoints
Re: LSP -> Debugger implementation [message #1810231 is a reply to message #1810230] Mon, 05 August 2019 12:00 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
- if you use xbase: more of less ootb in eclipse
- if you use the tracing generation you can do it (in eclipse) you can find a very old code dump there: https://github.com/itemis/xtext-debug-example-no-xbase


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Mon, 05 August 2019 12:02]

Report message to a moderator

Previous Topic:Scoping same type of objects
Next Topic:Usage of EOF to consume a file in Xtext
Goto Forum:
  


Current Time: Fri Apr 19 20:51:16 GMT 2024

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

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

Back to the top